/* Plinth & Panel — styles.css — 2026-09-16 */
:root {
  --paper: #f3f1ec; --card: #e9e6df; --ink: #1f1e1c; --ink-2: rgba(31, 30, 28, 0.64); --line: rgba(31, 30, 28, 0.12); --dark: #1a1918; --on-dark: #f3f1ec; --on-dark-2: rgba(243, 241, 236, 0.66); --clay: #c96f4a;
  --display: "Familjen Grotesk", system-ui, sans-serif; --body: "Inter Tight", system-ui, sans-serif; --pad: clamp(20px, 4.4vw, 68px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure, dl, dd, address, fieldset, legend { margin: 0; }
ul { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.display { font-family: var(--display); font-weight: 500; line-height: 1.02; letter-spacing: -0.03em; }
.h1 { font-size: clamp(44px, 6vw, 88px); }
.h2 { font-size: clamp(36px, 4.6vw, 68px); }
.h3 { font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -0.02em; line-height: 1.1; }
.muted { color: var(--ink-2); }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; background: var(--dark); color: var(--on-dark); font-weight: 500; font-size: 15px; transition: transform 0.15s, background 0.2s; }
.pill:hover { transform: translateY(-1px); background: #000; }
.pill-light { background: var(--card); color: var(--ink); }
.pill-light:hover { background: #dedad1; }
.pill-white { background: #fff; color: var(--ink); box-shadow: 0 6px 20px rgba(31, 30, 28, 0.1); }
.pill-white:hover { background: #fff; }
.round { width: 48px; height: 48px; border-radius: 50%; background: var(--card); display: grid; place-items: center; }
.round svg { width: 18px; height: 18px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border-bottom: 1px solid var(--ink); padding-bottom: 2px; font-size: 15px; }
.link svg { width: 14px; height: 14px; }
.wrap { padding: 0 var(--pad); }
.section { padding: clamp(56px, 8vw, 120px) var(--pad); }

/* bars */
.announce { background: var(--dark); color: var(--on-dark-2); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; padding: 10px var(--pad); }
.announce a { color: var(--on-dark); display: inline-flex; align-items: center; gap: 6px; }
.announce a svg { width: 12px; height: 12px; }
.header-wrap { position: sticky; top: 0; z-index: 30; padding: 0; transition: padding 0.3s; }
.header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 18px var(--pad); background: var(--paper); transition: background 0.3s, border-radius 0.3s, box-shadow 0.3s, margin 0.3s; }
.header-wrap.float { padding: 10px clamp(12px, 2vw, 32px); }
.header-wrap.float .header { background: rgba(243, 241, 236, 0.92); backdrop-filter: blur(10px); border-radius: 999px; box-shadow: 0 8px 30px rgba(31, 30, 28, 0.08); padding: 12px 20px; }
.mark { width: 48px; height: 48px; border-radius: 50%; border: 1.6px solid var(--ink); display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.06em; }
.nav { display: flex; gap: 26px; font-size: 15px; font-weight: 500; padding-left: 16px; }
.nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
.header-r { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; }
.sheet { position: fixed; inset: 0; z-index: 40; background: var(--paper); display: grid; grid-template-rows: auto 1fr auto; padding: 18px var(--pad) 28px; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; }
.sheet nav { align-self: center; display: grid; gap: 6px; }
.sheet nav a { font-family: var(--display); font-weight: 500; font-size: clamp(32px, 8vw, 56px); letter-spacing: -0.03em; line-height: 1.1; }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: clamp(32px, 5vw, 72px) var(--pad) clamp(48px, 7vw, 100px); }
.hero .copy { display: grid; gap: 28px; justify-items: start; }
.hero h1 { max-width: 10ch; }
.hero figure { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: var(--card); }
.hero img { width: 100%; height: 100%; object-fit: cover; }

/* popular */
.popular { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.popular figure { aspect-ratio: 5 / 4; overflow: hidden; border-radius: 16px; background: var(--card); }
.popular img { width: 100%; height: 100%; object-fit: cover; }
.popular .copy { display: grid; gap: 22px; justify-items: start; }
.popular .copy p { max-width: 42ch; color: var(--ink-2); }
.popular .h2 { max-width: 12ch; }

/* ticker */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.ticker .track { display: flex; gap: 64px; width: max-content; animation: tk 40s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.ticker svg { width: 28px; height: 28px; }
@keyframes tk { to { transform: translateX(-50%); } }

/* grid */
.grid-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: 32px; }
.grid-head .h2 { max-width: 10ch; }
.grid-head .side { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); }
.grid-head .side .mark { width: 40px; height: 40px; font-size: 16px; }
.products { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.products .float { position: sticky; bottom: 24px; grid-column: 1 / -1; justify-self: end; z-index: 2; margin-top: -24px; }
.product { display: grid; gap: 12px; }
.product figure { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--card); }
.product img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.product:hover img { transform: scale(1.03); }
.product .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: var(--ink-2); }
.product .meta b { display: block; color: var(--ink); font-weight: 500; font-size: 16px; }
.product .price { font-family: var(--display); font-weight: 500; font-size: 22px; color: var(--ink); letter-spacing: -0.02em; }
.dots { display: inline-flex; gap: 4px; margin-right: 8px; vertical-align: middle; }
.dots i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.product.wide { grid-column: span 2; }
.product.wide figure { aspect-ratio: 21 / 9; }

/* scratch */
.scratch { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.scratch .copy { display: grid; gap: 22px; justify-items: start; }
.scratch .copy p { max-width: 44ch; color: var(--ink-2); }
.scratch figure { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; }
.scratch img { width: 100%; height: 100%; object-fit: cover; }

/* dark */
.save { position: relative; min-height: 80vh; display: grid; align-content: end; padding: clamp(56px, 8vw, 120px) var(--pad); color: var(--on-dark); isolation: isolate; }
.save img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; filter: brightness(0.55); }
.save .h1 { max-width: 10ch; }
.save .row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; align-items: end; }
.save p { max-width: 40ch; color: var(--on-dark-2); }
.save address { font-style: normal; color: var(--on-dark-2); display: grid; gap: 12px; justify-items: start; }
.save .link { color: var(--on-dark); border-color: var(--on-dark); }

/* quality */
.quality { display: grid; gap: clamp(48px, 7vw, 100px); }
.q-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.q-row:nth-child(even) figure { order: -1; }
.q-row .copy { display: grid; gap: 20px; justify-items: start; }
.q-row .copy p { max-width: 42ch; color: var(--ink-2); }
.q-row figure { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: var(--card); }
.q-row img { width: 100%; height: 100%; object-fit: cover; }
.q-row small { font-size: 13px; color: var(--ink-2); }

/* inspire */
.inspire-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: 32px; }
.inspire-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.inspire-grid figure { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 12px; background: var(--card); }
.inspire-grid figure:nth-child(2n) { margin-top: 32px; }
.inspire-grid img { width: 100%; height: 100%; object-fit: cover; }
.rating { display: grid; gap: 4px; text-align: right; font-size: 14px; color: var(--ink-2); }
.rating b { font-family: var(--display); font-weight: 500; font-size: 28px; color: var(--ink); letter-spacing: -0.02em; }

/* showroom */
.showroom { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.showroom figure { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: var(--card); }
.showroom img { width: 100%; height: 100%; object-fit: cover; }
.showroom .copy { display: grid; gap: 22px; justify-items: start; }
.showroom .copy p { max-width: 40ch; color: var(--ink-2); }
.showroom address { font-style: normal; color: var(--ink-2); }

/* footer */
.footer { border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 88px) var(--pad) 32px; display: grid; gap: 40px; }
.foot-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; font-size: 14px; }
.foot-grid b { display: block; font-weight: 500; margin-bottom: 12px; font-size: 15px; }
.foot-grid ul { display: grid; gap: 8px; color: var(--ink-2); }
.foot-grid a:hover { color: var(--ink); }
.foot-grid address { font-style: normal; color: var(--ink-2); display: grid; gap: 4px; }
.foot-trust { display: flex; flex-wrap: wrap; gap: 12px 40px; font-size: 14px; color: var(--ink-2); }
.foot-trust span { display: inline-flex; align-items: center; gap: 10px; }
.foot-trust svg { width: 24px; height: 24px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 16px; }
.foot-bottom .links { display: flex; gap: 20px; }

/* inner */
.page-head { padding: clamp(40px, 6vw, 88px) var(--pad) clamp(24px, 3vw, 40px); display: grid; gap: 16px; }
.page-head p { max-width: 56ch; color: var(--ink-2); font-size: 17px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; }
.filter[aria-pressed="true"] { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }

/* configurator */
.config { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.preview { position: sticky; top: 100px; display: grid; gap: 16px; }
.preview .stage { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--card); position: relative; }
.preview .stage img { width: 100%; height: 100%; object-fit: cover; }
.preview .swatch { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 999px; background: rgba(243, 241, 236, 0.92); font-size: 13px; }
.preview .swatch i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(31, 30, 28, 0.2); }
.summary { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: baseline; padding: 20px; border-radius: 12px; background: #fff; }
.summary dt { color: var(--ink-2); font-size: 14px; }
.summary dd { text-align: right; font-size: 14px; }
.summary .total { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 6px; }
.summary .total b { font-family: var(--display); font-weight: 500; font-size: 32px; letter-spacing: -0.03em; }
.options { display: grid; gap: 32px; }
.options legend { font-weight: 500; margin-bottom: 12px; display: flex; justify-content: space-between; width: 100%; font-size: 15px; }
.options legend small { color: var(--ink-2); font-weight: 400; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: grid; gap: 4px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 14px; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; }
.choice span small { color: var(--ink-2); }
.choice span i { width: 22px; height: 22px; border-radius: 50%; display: block; border: 1px solid rgba(31, 30, 28, 0.15); margin-bottom: 4px; }
.choice input:checked + span { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.form { display: grid; gap: 16px; max-width: 520px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.form input, .form select, .form textarea { font: 400 16px/1.4 var(--body); background: #fff; border: 1px solid var(--line); padding: 12px 14px; color: var(--ink); border-radius: 10px; }
.form textarea { min-height: 100px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); }
.form .pill { justify-self: start; }
.form-status { font-size: 14px; color: var(--clay); min-height: 1.4em; }

/* demo note */
.demo-note { position: fixed; left: 12px; bottom: 12px; z-index: 50; padding: 6px 10px; border-radius: 999px; background: rgba(31, 30, 28, 0.7); color: rgba(243, 241, 236, 0.92); font: 500 11px/1 var(--body); backdrop-filter: blur(6px); }
.demo-note:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) { .ticker .track { animation: none; } * { transition-duration: 0.001s !important; } html { scroll-behavior: auto; } }
@media (max-width: 1000px) { .products { grid-template-columns: 1fr 1fr; } .product.wide { grid-column: span 2; } .inspire-grid { grid-template-columns: 1fr 1fr; } .foot-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 860px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .announce span:first-child { display: none; }
  .hero, .popular, .scratch, .q-row, .showroom, .config, .save .row { grid-template-columns: 1fr; }
  .q-row:nth-child(even) figure { order: 0; }
  .preview { position: static; }
  .grid-head, .inspire-head { grid-template-columns: 1fr; }
  .rating { text-align: left; }
  .save { min-height: 0; }
}
@media (max-width: 560px) { .products, .inspire-grid, .foot-grid { grid-template-columns: 1fr; } .product.wide { grid-column: auto; } .product.wide figure { aspect-ratio: 4 / 3; } .inspire-grid figure:nth-child(2n) { margin-top: 0; } .choices { grid-template-columns: 1fr 1fr; } }
