/* =========================================================
   Art House — site styles
   ========================================================= */

/* ---------- fonts (self-hosted, subset by unicode-range) ---------- */
@font-face { font-family: Manrope; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/manrope-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/manrope-latin-ext-400.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0218-021B, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/manrope-cyrillic-400.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/manrope-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/manrope-latin-ext-600.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0218-021B, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/manrope-cyrillic-600.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Cormorant; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/cormorant-garamond-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Cormorant; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/cormorant-garamond-latin-ext-500.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0218-021B, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF; }
@font-face { font-family: Cormorant; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/cormorant-garamond-cyrillic-500.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Cormorant; font-style: italic; font-weight: 500; font-display: swap; src: url(/fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Cormorant; font-style: italic; font-weight: 500; font-display: swap; src: url(/fonts/cormorant-garamond-latin-ext-500-italic.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0218-021B, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF; }
@font-face { font-family: Cormorant; font-style: italic; font-weight: 500; font-display: swap; src: url(/fonts/cormorant-garamond-cyrillic-500-italic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* ---------- tokens ---------- */
:root {
  --bg: #f6f2ec;
  --bg-2: #efe9e0;
  --wall: #ebe4d9;
  --paper: #fffdf9;
  --ink: #2b2d31;
  --ink-2: #4a4c52;
  --muted: #7c7a76;
  --line: #e2dacd;
  --accent: #b5653f;
  --accent-ink: #8f4b2c;
  --sage: #7d8a86;
  --ok: #4f7d5b;
  --warn: #c08a2d;
  --err: #b4442f;
  --radius: 14px;
  --shadow-art: 0 1px 1px rgba(30, 24, 18, .08), 0 6px 10px -4px rgba(30, 24, 18, .18), 0 22px 40px -18px rgba(30, 24, 18, .35);
  --shadow-soft: 0 10px 30px -18px rgba(30, 24, 18, .35);
  --serif: Cormorant, "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sofa: #b9ab98; --sofa-back: #a89a87; --sofa-seat: #c8bba8; --sofa-leg: #6d5f50; --plant: #6f8a74; --pot: #d7cbbb;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, .stats dt, .value strong, .big-404 { font-variant-numeric: lining-nums; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.lead { font-size: clamp(1.04rem, 1.4vw, 1.18rem); color: var(--ink-2); max-width: 62ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .74rem; font-weight: 600; color: var(--accent); margin-bottom: 1.2em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.error { color: var(--err); font-weight: 500; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.6em; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 8px 22px -12px rgba(43, 45, 49, .8); }
.btn-primary:hover { background: #17181b; transform: translateY(-2px); }
.btn-primary:disabled { background: #a9a6a1; box-shadow: none; cursor: not-allowed; transform: none; }
.btn-ghost { border-color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -18px rgba(0, 0, 0, .4); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-logo { width: 52px; height: 52px; transition: transform .4s var(--ease); }
.brand:hover .brand-logo { transform: rotate(-4deg) scale(1.04); }
.brand-tag { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); max-width: 14ch; line-height: 1.3; }
.main-nav { display: flex; gap: 6px; margin-left: auto; }
.main-nav a { text-decoration: none; padding: .55em 1em; border-radius: 999px; font-weight: 500; font-size: .95rem; transition: background .2s; }
.main-nav a:hover { background: var(--bg-2); }
.main-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; gap: 2px; font-size: .78rem; font-weight: 600; }
.lang-switch a { text-decoration: none; padding: .35em .55em; border-radius: 6px; color: var(--muted); }
.lang-switch a[aria-current] { color: var(--ink); background: var(--bg-2); }
.cart-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background .2s; }
.cart-btn:hover { background: var(--bg-2); }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; place-items: center; }

/* ---------- hero ---------- */
.hero { padding: clamp(28px, 6vw, 80px) 0 clamp(40px, 6vw, 90px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; background: radial-gradient(closest-side, rgba(181, 101, 63, .12), transparent); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 70px); align-items: center; }
.hero-title { font-size: clamp(3rem, 7.4vw, 6.6rem); line-height: .96; margin-bottom: .35em; }
.hero-title span { display: block; }
.hero-title em { display: block; font-style: italic; color: var(--accent); padding-left: .6em; }
.stats { display: flex; gap: clamp(18px, 4vw, 44px); margin: 2.4em 0 0; padding-top: 1.6em; border-top: 1px solid var(--line); }
.stats div { margin: 0; }
.stats dt { font-family: var(--serif); font-size: 2.3rem; line-height: 1; }
.stats dd { margin: .3em 0 0; font-size: .82rem; color: var(--muted); max-width: 16ch; }

.hero-wall { position: relative; aspect-ratio: 1 / 1.02; --mx: 0; --my: 0; }
.wall-item { position: absolute; display: block; transition: transform .8s var(--ease); transform: translate(calc(var(--mx) * var(--d) * 9px), calc(var(--my) * var(--d) * 9px)); }
.wall-item .canvas { animation: floaty 9s ease-in-out infinite; animation-delay: calc(var(--d) * -2.3s); }
.wall-item:hover .canvas { box-shadow: 0 30px 60px -22px rgba(30, 24, 18, .5); }
.wall-1 { left: 4%; top: 6%; width: 42%; }
.wall-2 { left: 51%; top: 0; width: 45%; }
.wall-3 { left: 0; top: 58%; width: 30%; }
.wall-4 { left: 34%; top: 53%; width: 34%; }
.wall-5 { left: 72%; top: 62%; width: 26%; }
@keyframes floaty { 50% { transform: translateY(-8px) rotate(.3deg); } }

/* stretched canvas look */
.canvas {
  position: relative; aspect-ratio: var(--ar, 3/4); background: #ddd5c8; overflow: hidden;
  box-shadow: var(--shadow-art); border-radius: 2px;
  transition: box-shadow .4s var(--ease), aspect-ratio .5s var(--ease);
}
.canvas > img, .canvas .canvas-img { width: 100%; height: 100%; object-fit: cover; }
.canvas::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 2px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .014) 0 1px, transparent 1px 2px),
    linear-gradient(90deg, rgba(0, 0, 0, .12), transparent 3%, transparent 97%, rgba(0, 0, 0, .16)),
    linear-gradient(180deg, rgba(255, 255, 255, .12), transparent 4%, transparent 96%, rgba(0, 0, 0, .14));
  mix-blend-mode: multiply;
}

/* ---------- marquee ---------- */
.marquee {
  background: var(--ink); color: #f3eee6; padding: 24px 0; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 36px; padding-right: 36px; flex-shrink: 0; }
.mq-word { white-space: nowrap; line-height: 1; }
.mq-a { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.55rem, 2.6vw, 2.2rem); color: #f6f1e9; }
.mq-b { font-family: var(--sans); text-transform: uppercase; letter-spacing: .24em; font-size: .76rem; font-weight: 600; color: #c9c1b4; }
.mq-sep { width: 9px; height: 9px; border: 1.5px solid var(--accent); transform: rotate(45deg); flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 560px) { .marquee { padding: 18px 0; } .marquee-group { gap: 26px; padding-right: 26px; } }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section-title { margin-bottom: .8em; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 2em; }
.section-head .section-title { margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .35s var(--ease), box-shadow .35s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.feature svg { color: var(--accent); margin-bottom: 18px; }
.feature p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* ---------- product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); }
.product-card { min-width: 0; }
.product-link { text-decoration: none; display: block; }
.product-media {
  background: linear-gradient(180deg, var(--wall), #e4dccf); border-radius: var(--radius);
  aspect-ratio: 4 / 5; display: grid; place-items: center; padding: 14%; overflow: hidden; position: relative;
}
.product-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9%; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .04)); }
.product-media .canvas { width: 100%; max-height: 100%; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.product-media .canvas[style*="--ar:30/40"], .product-media .canvas[style*="--ar:40/60"] { width: 82%; }
.product-link:hover .canvas { transform: translateY(-6px) scale(1.03); box-shadow: 0 30px 46px -22px rgba(30, 24, 18, .55); }
.product-info { padding: 14px 4px 0; }
.product-info h3 { font-size: 1.35rem; margin: 0 0 .15em; }
.product-info p { margin: 0; font-size: .86rem; }
.price { font-weight: 600; margin-top: .3em !important; }

/* ---------- custom CTA demo ---------- */
.custom-cta { background: var(--ink); color: #f3eee6; }
.custom-cta .lead { color: #cfc8bd; }
.custom-cta .btn-primary { background: #f3eee6; color: var(--ink); }
.custom-cta .btn-primary:hover { background: #fff; }
.custom-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.demo-frame { position: relative; aspect-ratio: 1; background: #34363b; border-radius: 22px; display: grid; place-items: center; overflow: hidden; }
.demo-canvas { width: 50%; aspect-ratio: 5/7; position: relative; overflow: hidden; box-shadow: 0 0 0 9999px rgba(20, 21, 24, .55), 0 0 0 2px #f3eee6; z-index: 1; }
.demo-img { position: absolute; width: 170%; max-width: none; left: -35%; top: -12%; animation: demo-pan 10s var(--ease) infinite; }
@keyframes demo-pan { 0%, 100% { transform: translate(0, 0) rotate(0) scale(1); } 30% { transform: translate(14%, 6%) rotate(0) scale(1); } 55% { transform: translate(10%, 4%) rotate(90deg) scale(1.1); } 80% { transform: translate(-6%, -2%) rotate(0) scale(1.2); } }
.demo-cursor { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: #f3eee6; border: 5px solid rgba(181, 101, 63, .9); z-index: 2; left: 50%; top: 50%; animation: demo-cursor 10s var(--ease) infinite; }
@keyframes demo-cursor { 0%, 100% { transform: translate(-40px, -20px); } 30% { transform: translate(30px, 10px) scale(.85); } 55% { transform: translate(90px, 120px); } 80% { transform: translate(-60px, 60px) scale(.85); } }
.demo-chips { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; z-index: 2; }
.demo-chips span { font-size: .72rem; padding: .3em .8em; border-radius: 99px; border: 1px solid #5a5c62; color: #cfc8bd; }
.demo-chips span.on { background: #f3eee6; color: var(--ink); border-color: #f3eee6; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 1.8em 0 2.2em; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; }
.steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font-family: var(--serif); font-size: 1.6rem; color: var(--accent); line-height: 1.1; }
.steps strong { font-weight: 600; }
.steps span { color: #b7b0a5; font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.2em 2.4em 1.2em 0; font-family: var(--serif); font-size: 1.35rem; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.4rem; transition: transform .3s; color: var(--accent); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--ink-2); padding-bottom: 1.2em; margin: 0; }

/* ---------- page heads / crumbs ---------- */
.crumbs { padding-top: 22px; font-size: .82rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-head { padding: clamp(24px, 4vw, 50px) 0 clamp(20px, 3vw, 36px); }

/* ---------- catalog ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-bottom: 30px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: var(--paper); padding: .5em 1.05em; border-radius: 99px; text-decoration: none; font-size: .88rem; font-weight: 500; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips-small .chip { font-size: .8rem; padding: .4em .9em; }
.count { margin: 0 0 0 auto; font-size: .88rem; }
.empty { text-align: center; padding: 60px 0; color: var(--muted); }
.product-card.hide { display: none; }

/* ---------- product page ---------- */
.product-page { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 5vw, 70px); padding: 30px 0 20px; align-items: start; }
.product-stage { position: sticky; top: 100px; }
.stage-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.stage-view[data-stage="canvas"] { background: linear-gradient(180deg, var(--wall), #e2d9cb); border-radius: 20px; padding: clamp(30px, 7%, 70px); display: grid; place-items: center; min-height: 420px; }
.canvas-lg { width: min(100%, 520px); max-height: 70vh; }
.canvas-lg[style*="--ar:30/40"], .canvas-lg[style*="--ar:40/60"], .canvas-lg[style*="--ar:50/70"], .canvas-lg[style*="--ar:60/90"], .canvas-lg[style*="--ar:80/120"] { width: min(78%, 440px); }
.product-side h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.size-picker { border: 0; padding: 0; margin: 1.6em 0 1em; }
.size-picker legend, .ed-step { font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px; }
.size-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.size-opt input { position: absolute; opacity: 0; pointer-events: none; }
.size-opt span { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--paper); border-radius: 12px; padding: .75em .8em; cursor: pointer; font-weight: 600; font-size: .92rem; transition: all .2s; }
.size-opt span:hover { border-color: var(--ink); }
.size-opt input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.size-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.size-ico { display: block; height: 22px; aspect-ratio: var(--ar); border: 1.5px solid currentColor; border-radius: 2px; flex-shrink: 0; max-width: 22px; }
.price-line { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); margin: 1em 0; }
.price-line strong { font-size: 1.2rem; }
.toast-inline { margin-top: 12px; color: var(--ok); font-weight: 600; }
.specs { margin: 2em 0 0; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 20px; padding: .8em 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; text-align: right; font-weight: 500; }

/* ---------- room scene (true-to-scale) ---------- */
.room { position: relative; container-type: inline-size; aspect-ratio: 16 / 11; border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, #e9e1d5 0%, #e3d9cb 78%, #cdbfac 78%, #c2b39f 100%); }
.room-wall { position: absolute; inset: 0 0 22% 0; background: radial-gradient(ellipse at 50% 20%, rgba(255, 255, 255, .5), transparent 60%); }
.room-art { position: absolute; left: 50%; transform: translateX(-50%); width: calc(var(--w) * .23cqi); top: max(3cqi, calc(35cqi - var(--h) * .23cqi)); transition: width .5s var(--ease), top .5s var(--ease); z-index: 1; }
.room-art .canvas { width: 100%; aspect-ratio: var(--w) / var(--h); box-shadow: 0 1px 1px rgba(0, 0, 0, .1), 0 1.4cqi 2cqi -1cqi rgba(30, 24, 18, .45); }
.room-sofa { position: absolute; width: 46cqi; left: 27cqi; bottom: 16%; z-index: 2; }
.room-plant { position: absolute; width: 9cqi; left: 77cqi; bottom: 16%; z-index: 2; }
.room-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .03) 0 1px, transparent 1px 9cqi); }

/* ---------- custom editor ---------- */
.editor { display: grid; grid-template-columns: 370px 1fr; gap: clamp(20px, 3vw, 40px); padding-bottom: 80px; align-items: start; }
.editor-side { display: grid; gap: 14px; position: sticky; top: 96px; }
.ed-block { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.ed-step { display: flex; align-items: center; gap: 10px; font-family: var(--sans); line-height: 1.2; }
.ed-step span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .74rem; letter-spacing: 0; }
.editor .size-options { grid-template-columns: repeat(3, 1fr); }
.editor .size-opt span { padding: .6em .55em; font-size: .86rem; gap: 7px; }
.size-group-label { font-size: .76rem; color: var(--muted); margin: 0 0 6px; }
.more-sizes { margin-top: 10px; }
.more-sizes summary { cursor: pointer; font-size: .86rem; font-weight: 600; padding: 6px 0; list-style: none; display: flex; align-items: center; gap: 6px; }
.more-sizes summary::-webkit-details-marker { display: none; }
.more-sizes summary::before { content: "+"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line); font-weight: 400; transition: transform .25s; }
.more-sizes[open] summary::before { transform: rotate(45deg); }
.more-sizes summary small { color: var(--muted); font-weight: 400; }
.more-sizes .size-options { margin-top: 6px; animation: in .3s var(--ease); }
.orient { display: flex; gap: 6px; margin-top: 10px; }
.orient label { flex: 1; }
.orient input { position: absolute; opacity: 0; }
.orient span { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: .55em; cursor: pointer; font-size: .86rem; font-weight: 500; }
.orient input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.orient input:disabled + span { opacity: .4; cursor: not-allowed; }
.orient input:focus-visible + span { outline: 2px solid var(--accent); }
.o-ico { width: 12px; height: 16px; border: 1.5px solid currentColor; border-radius: 2px; }
.o-l { width: 16px; height: 12px; }
[data-controls][aria-disabled="true"] { opacity: .45; pointer-events: none; filter: grayscale(1); }
.tool-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 14px; }
.tool { display: grid; place-items: center; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; transition: all .2s; }
.tool:hover { border-color: var(--ink); background: #fff; }
.tool:active { transform: scale(.94); }
.range { display: block; margin: 8px 0 12px; }
.range span { display: flex; justify-content: space-between; font-size: .84rem; font-weight: 600; margin-bottom: 4px; }
.range output { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; accent-color: var(--ink); height: 28px; }
.quality { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; font-size: .84rem; padding-top: 12px; border-top: 1px solid var(--line); }
.quality small { grid-column: 1 / -1; color: var(--muted); }
.q-bar { grid-column: 1 / -1; height: 5px; background: var(--bg-2); border-radius: 9px; overflow: hidden; margin-top: 4px; }
.q-bar i { display: block; height: 100%; width: 0; border-radius: 9px; background: var(--ok); transition: width .4s var(--ease), background .4s; }
.quality[data-level="good"] .q-bar i { background: #7d9b5b; }
.quality[data-level="fair"] .q-bar i { background: var(--warn); }
.quality[data-level="low"] .q-bar i { background: var(--err); }
.quality[data-level="low"] strong { color: var(--err); }
.ed-buy .price-line { margin-top: 0; border-top: 0; padding-top: 0; }
.added { margin-top: 12px; }
.added p { color: var(--ok); font-weight: 600; }
.upload-status { margin-top: 10px; font-size: .85rem; }
.upload-status .bar { height: 5px; background: var(--bg-2); border-radius: 9px; overflow: hidden; margin-bottom: 6px; }
.upload-status .bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }

.editor-main { min-width: 0; }
.ed-stage {
  position: relative; height: clamp(440px, 72vh, 760px); border-radius: 22px; overflow: hidden; touch-action: none;
  background: radial-gradient(ellipse at 50% 30%, #f4efe7, #e2d9cb); display: grid; place-items: center;
}
.ed-frame { position: relative; width: 300px; height: 400px; transition: width .45s var(--ease), height .45s var(--ease); outline: none; }
.ed-frame.ready { cursor: grab; }
.ed-frame.dragging { cursor: grabbing; }
.ed-frame.dragging, .ed-frame.dragging * { transition: none !important; }
.ed-ghost, .ed-img { position: absolute; left: 0; top: 0; transform-origin: 0 0; max-width: none; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.ed-ghost, .ed-img { transition: transform .45s var(--ease); will-change: transform; }
.ed-frame.adjusting .ed-img, .ed-frame.adjusting .ed-ghost { transition: none; }
.ed-ghost { opacity: .22; filter: saturate(.6); }
.ed-clip { position: absolute; inset: 0; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 28px 50px -24px rgba(30, 24, 18, .6); }
.ed-clip::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0, 0, 0, .025) 0 1px, transparent 1px 3px), linear-gradient(90deg, rgba(0, 0, 0, .1), transparent 2.5%, transparent 97.5%, rgba(0, 0, 0, .12)); }
.ed-grid { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s; background:
  linear-gradient(90deg, transparent calc(33.33% - .5px), rgba(255, 255, 255, .75) calc(33.33% - .5px) calc(33.33% + .5px), transparent 0, transparent calc(66.66% - .5px), rgba(255, 255, 255, .75) calc(66.66% - .5px) calc(66.66% + .5px), transparent 0),
  linear-gradient(0deg, transparent calc(33.33% - .5px), rgba(255, 255, 255, .75) calc(33.33% - .5px) calc(33.33% + .5px), transparent 0, transparent calc(66.66% - .5px), rgba(255, 255, 255, .75) calc(66.66% - .5px) calc(66.66% + .5px), transparent 0);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.ed-frame.dragging .ed-grid, .ed-frame.adjusting .ed-grid { opacity: 1; }
.ed-dims { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); font-size: .8rem; font-weight: 600; letter-spacing: .08em; color: var(--ink-2); white-space: nowrap; background: rgba(255, 255, 255, .7); padding: .2em .8em; border-radius: 99px; }
.dropzone {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 16px;
  border: 2px dashed #b9ae9e; background: rgba(255, 253, 249, .88); cursor: pointer; transition: all .25s; color: var(--ink-2);
}
.dropzone strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--ink); line-height: 1.1; }
.dropzone span:not(.btn) { font-size: .82rem; color: var(--muted); }
.dropzone small { font-size: .74rem; color: var(--muted); }
.dropzone .btn { pointer-events: none; padding: .7em 1.3em; font-size: .85rem; }
.dropzone:hover, .ed-stage.over .dropzone { border-color: var(--accent); background: rgba(255, 248, 240, .95); }
.ed-stage.over .ed-frame { transform: scale(1.02); }
.ed-stage.over::after { content: ""; position: absolute; inset: 10px; border: 2px dashed var(--accent); border-radius: 16px; pointer-events: none; }
.ed-hint { margin-top: 44px; }
.ed-wall .room { max-height: 72vh; }
.wall-preview { background: #ddd5c8 center / cover no-repeat; }
.keys { white-space: nowrap; }

/* ---------- cart ---------- */
.cart { display: grid; grid-template-columns: 1fr 420px; gap: clamp(20px, 4vw, 50px); align-items: start; padding-bottom: 80px; }
.cart-items { display: grid; gap: 14px; }
.cart-empty { grid-column: 1 / -1; text-align: center; padding: 40px 0 80px; }
.cart-empty .btn { margin: 4px; }
.cart.is-empty .checkout { display: none; }
.cart-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; animation: in .4s var(--ease); }
@keyframes in { from { opacity: 0; transform: translateY(8px); } }
.cart-thumb { background: var(--wall); border-radius: 10px; aspect-ratio: 1; display: grid; place-items: center; padding: 14%; }
.cart-thumb .canvas { width: 100%; max-height: 100%; }
.cart-thumb .canvas img { width: 100%; height: 100%; object-fit: cover; }
.cart-item h3 { font-size: 1.25rem; margin: 0 0 .2em; }
.cart-item p { margin: 0; font-size: .86rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; margin-top: 10px; }
.qty button { width: 34px; height: 34px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; border-radius: 50%; }
.qty button:hover { background: var(--bg-2); }
.qty output { min-width: 26px; text-align: center; font-weight: 600; }
.remove { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: .82rem; text-decoration: underline; align-self: start; }
.remove:hover { color: var(--err); }
.item-price { font-weight: 600; text-align: right; margin-top: 8px; }
.checkout { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 26px; position: sticky; top: 96px; display: grid; gap: 12px; }
.checkout h2 { font-size: 1.8rem; margin-bottom: .2em; }
.field { display: grid; gap: 5px; }
.field > span { font-size: .82rem; font-weight: 600; }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); padding: .8em .95em; transition: border-color .2s, box-shadow .2s; font-size: 16px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(43, 45, 49, .08); background: #fff; }
.field.invalid input { border-color: var(--err); }
.field-error { color: var(--err); font-size: .78rem; min-height: 0; }
.delivery-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--bg); border-radius: 12px; padding: 4px; border: 1px solid var(--line); }
.delivery-toggle input { position: absolute; opacity: 0; }
.delivery-toggle span { display: block; text-align: center; padding: .7em; border-radius: 9px; cursor: pointer; font-weight: 600; font-size: .9rem; transition: all .2s; }
.delivery-toggle input:checked + span { background: var(--ink); color: #fff; }
.delivery-toggle input:focus-visible + span { outline: 2px solid var(--accent); }
.delivery-fields { display: grid; gap: 12px; animation: in .3s var(--ease); }
.check { display: flex; gap: 10px; align-items: start; font-size: .85rem; color: var(--ink-2); cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--ink); width: 17px; height: 17px; flex-shrink: 0; }
.summary { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); font-size: .92rem; }

/* ---------- about ---------- */
.about-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 40px; }
.value { background: var(--paper); padding: 26px 22px; display: grid; gap: 4px; }
.value strong { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.value span { color: var(--muted); font-size: .9rem; }
.about-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-block { border-top: 1px solid var(--ink); padding: 22px 0; }
.about-block .num { font-family: var(--serif); color: var(--accent); font-size: 1.1rem; }
.about-block p { color: var(--ink-2); }

/* ---------- thanks / 404 ---------- */
.thanks { padding: 70px 0 110px; display: grid; justify-items: center; }
.thanks-art { width: 150px; margin-bottom: 30px; }
.thanks-fill { position: absolute; inset: 0; background: linear-gradient(135deg, #e9c9a8, #b5653f 60%, #2b2d31); animation: fillup 1.4s var(--ease); }
@keyframes fillup { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
.big-404 { font-family: var(--serif); font-size: clamp(6rem, 18vw, 12rem); line-height: 1; margin: 0; color: var(--accent); }

/* ---------- footer ---------- */
.site-footer { background: #232428; color: #cfc8bd; padding: 60px 0 26px; margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer-logo { width: 84px; height: 84px; color: #f3eee6; margin-bottom: 14px; }
.footer-brand p { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: #9d968b; }
.footer-nav { display: grid; gap: 8px; align-content: start; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.footer-meta p { font-size: .9rem; }
.site-footer .lang-switch a { color: #9d968b; }
.site-footer .lang-switch a[aria-current] { background: #34363b; color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #3a3c41; font-size: .78rem; color: #8b857b; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 99px; font-weight: 500; opacity: 0; transition: all .35s var(--ease); z-index: 90; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal on scroll (JS only) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .feature-grid, .product-grid { grid-template-columns: repeat(3, 1fr); }
  .editor { grid-template-columns: 320px 1fr; }
  .brand-tag { display: none; }
}
@media (max-width: 900px) {
  .menu-btn { display: grid; }
  .main-nav { position: fixed; inset: 78px 0 auto 0; flex-direction: column; background: var(--bg); padding: 12px 20px 24px; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .4s var(--ease); margin: 0; z-index: -1; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .3); }
  .main-nav.open { transform: none; }
  .main-nav a { font-size: 1.15rem; padding: .8em 1em; }
  .header-actions { margin-left: auto; }
  .hero-grid, .custom-cta-grid, .product-page, .cart, .editor { grid-template-columns: 1fr; }
  .hero-wall { max-width: 560px; width: 100%; margin: 10px auto 0; }
  .feature-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-stage, .editor-side, .checkout { position: static; }
  .editor-main { order: -1; }
  .ed-stage { height: min(68vh, 560px); }
  .about-values { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { height: 66px; gap: 12px; }
  .main-nav { inset: 66px 0 auto 0; }
  .brand-logo { width: 44px; height: 44px; }
  .lang-switch { font-size: .72rem; }
  .lang-switch a { padding: .3em .4em; }
  .stats { gap: 16px; }
  .stats dt { font-size: 1.8rem; }
  .product-grid { gap: 12px; }
  .product-info h3 { font-size: 1.1rem; }
  .feature-grid, .about-blocks { grid-template-columns: 1fr; }
  .size-options, .editor .size-options { grid-template-columns: repeat(3, 1fr); }
  .cart-item { grid-template-columns: 84px 1fr; }
  .cart-item .remove { grid-column: 2; justify-self: start; }
  .checkout { padding: 18px; }
  .count { margin-left: 0; width: 100%; }
  .keys { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (hover: none) { .keys { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .site-footer, .marquee { display: none; } }

/* ---------- language menu with flags ---------- */
.flag { display: block; width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); flex-shrink: 0; }
.lang-menu { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px 0 10px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); cursor: pointer; font-weight: 700; font-size: .82rem; letter-spacing: .04em; list-style: none; transition: border-color .2s, box-shadow .2s; user-select: none; }
.lang-btn::-webkit-details-marker { display: none; }
.lang-btn:hover, .lang-menu[open] .lang-btn { border-color: var(--ink); box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .4); }
.lang-btn .chev { transition: transform .25s var(--ease); opacity: .7; }
.lang-menu[open] .chev { transform: rotate(180deg); }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; margin: 0; padding: 6px; list-style: none; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(30, 24, 18, .45); z-index: 60; animation: in .2s var(--ease); }
.lang-list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 9px; text-decoration: none; font-weight: 500; }
.lang-list a:hover { background: var(--bg-2); }
.lang-list a[aria-current] { font-weight: 700; }
.lang-list i { margin-left: auto; font-style: normal; color: var(--accent); }
.lang-switch a { display: inline-flex; align-items: center; gap: 7px; }
.nav-langs { display: none; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.footer-langs a { padding: .45em .7em; font-size: .85rem; }
.footer-langs a span, .nav-langs a span { letter-spacing: 0; }

/* ---------- consent banner ---------- */
.consent { position: fixed; left: 20px; bottom: 20px; z-index: 80; width: min(440px, calc(100% - 40px)); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; box-shadow: 0 24px 60px -24px rgba(30, 24, 18, .55); animation: in .4s var(--ease); }
.consent p { font-size: .88rem; color: var(--ink-2); margin-bottom: .8em; }
.consent .consent-title { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); margin-bottom: .3em; }
.consent-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.consent-actions .btn { flex: 1; padding: .8em 1em; }

/* ---------- footer legal ---------- */
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font-size: .84rem; }
.footer-legal a, .link-btn { color: #cfc8bd; text-decoration: none; }
.footer-legal a:hover, .link-btn:hover { color: #fff; text-decoration: underline; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.company { font-style: normal; font-size: .9rem; line-height: 1.7; }
.company a { text-decoration: none; }

/* ---------- legal pages ---------- */
.legal { padding: 10px 0 70px; }
.legal h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.legal section { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 24px; }
.legal h2 { font-size: 1.5rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }

/* ---------- checkout extras ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check a { color: var(--ink); text-decoration: underline; }

@media (max-width: 900px) {
  .nav-langs { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 1em 0; border-top: 1px solid var(--line); margin-top: 8px; }
  .nav-langs a { padding: .5em .8em; border: 1px solid var(--line); border-radius: 99px; font-size: .9rem; }
}
@media (max-width: 560px) {
  .lang-btn { height: 38px; padding: 0 9px 0 8px; gap: 6px; }
  .consent { left: 10px; bottom: 10px; width: calc(100% - 20px); padding: 16px; }
}

/* artist / credit */
.artist { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--ink-2); margin-top: -.3em; }
.artist span { font-style: normal; color: var(--muted); font-size: 1.05rem; }
.card-artist { font-size: .82rem !important; color: var(--ink-2); font-style: italic; margin-bottom: 2px !important; }
.credit { margin-top: 1.2em; }
.credit a { color: inherit; }

/* ---------- inspiration ---------- */
.insp-section { padding-bottom: 50px; }
.mockup-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.mockup { margin: 0; border-radius: 18px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.mockup img { width: 100%; height: auto; display: block; transition: transform .8s var(--ease); }
.mockup:hover img { transform: scale(1.025); }
.mockup figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; font-family: var(--serif); font-size: 1.2rem; flex-wrap: wrap; }
.mockup figcaption .link-arrow { font-family: var(--sans); font-size: .85rem; }
.masonry { columns: 3 280px; column-gap: 18px; }
.photo { break-inside: avoid; margin: 0 0 18px; border-radius: 14px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.photo img { width: 100%; height: auto; display: block; }
.photo figcaption { font-size: .74rem; color: var(--muted); padding: 8px 12px; }
.photo figcaption a { color: inherit; }
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.teaser { position: relative; display: block; border-radius: 16px; overflow: hidden; text-decoration: none; }
.teaser img { width: 100%; height: auto; display: block; transition: transform .8s var(--ease); }
.teaser:hover img { transform: scale(1.04); }
.teaser span { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 253, 249, .92); padding: .45em .9em; border-radius: 99px; font-weight: 600; font-size: .85rem; }
@media (max-width: 900px) { .mockup-grid, .teaser-grid { grid-template-columns: 1fr; } }

/* ---------- SEO text, category links, guides ---------- */
.seo-text h2 { font-size: 1.5rem; margin-top: 1.4em; }
.seo-text p { color: var(--ink-2); }
.cat-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.cat-links a { text-decoration: none; border-bottom: 1px solid var(--line); }
.cat-links a:hover { border-color: currentColor; }
.page-head .lead + .lead { margin-top: .6em; }
.product-side .eyebrow a { text-decoration: none; }
.artwork-note + .muted { font-size: .92rem; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.guide-card { display: flex; flex-direction: column; gap: .5em; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; text-decoration: none; color: inherit; transition: transform .35s var(--ease), box-shadow .35s; }
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.guide-card .num { font-family: var(--serif); color: var(--accent); }
.guide-card h3 { margin: 0; font-size: 1.25rem; }
.guide-card p { margin: 0; color: var(--ink-2); font-size: .92rem; flex: 1; }
.guide-card .link-arrow { align-self: flex-start; font-size: .85rem; }
.article { padding: 10px 0 40px; }
.article h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.article section { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 24px; }
.article h2 { font-size: 1.5rem; }
.article p, .article li { color: var(--ink-2); }
.article ul { padding-left: 1.2em; }
.article li { margin-bottom: .4em; }
.article-cta { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 2em; }
.table-wrap { overflow-x: auto; margin: 1em 0; }
.table-wrap table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.table-wrap th, .table-wrap td { text-align: left; padding: .55em .8em; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table-wrap thead th { color: var(--muted); font-weight: 600; }
