/* RikoStyle Journal
   Brand colours from rikostyle.com: logo blue #134793, sand #dfc491, ink #1b1b1b, grey #65656c.
   Type: Schibsted Grotesk, self-hosted (OFL). */

@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/fonts/schibsted-normal-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/fonts/schibsted-normal-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #ffffff;
  --ink: #1b1b1b;          /* rikostyle.com text */
  --walnut: #2c2c2c;
  --stone: #65656c;        /* rikostyle.com grey, 5.9:1 on white */
  --blue: #134793;         /* logo */
  --blue-deep: #0e3672;
  --sand: #dfc491;         /* rikostyle.com accent */
  --beech: var(--sand);
  --beech-text: #7a6331;   /* sand, darkened for text on white */
  --line: #e9e7e3;
  --well: #f5f5f5;         /* rikostyle.com light grey */
  --ease: cubic-bezier(.2, 0, 0, 1);
  --r-sm: 10px; --r-md: 16px; --r-lg: 28px;
  font: 450 17px/1.6 "Schibsted Grotesk", system-ui, sans-serif;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: #f1e3c2; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-weight: 650; line-height: 1.08; letter-spacing: -.028em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.75rem); letter-spacing: -.04em; line-height: 1.0; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); margin-bottom: .6em; }
h3 { font-size: 1.12rem; letter-spacing: -.012em; line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--stone); max-width: 38em; }
.muted { color: var(--stone); }
.fine { font-size: .85rem; color: var(--stone); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.narrow { max-width: 860px; }
main > section:not(:first-child) { margin-top: clamp(72px, 10vw, 136px); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 20; border-radius: var(--r-sm); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; padding: 0 26px;
  border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; white-space: nowrap; border: 1.5px solid transparent;
  transition-property: background-color, color, border-color, scale; transition-duration: .2s; transition-timing-function: var(--ease); }
.btn:active { scale: .96; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .9rem; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--walnut); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f1e3c2; }
.btn-ghost-light { border-color: rgb(255 255 255 / .35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }
.link { font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 2px; transition: background-size .25s var(--ease); }
.link:hover { background-size: 0 1.5px; background-position: 100% 100%; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgb(255 255 255 / .86); backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 transparent; transition: box-shadow .25s var(--ease); }
.top.scrolled { box-shadow: 0 1px 0 var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 500; color: var(--stone);
  transition: color .15s var(--ease), background-color .15s var(--ease); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); background: var(--well); }
.top-act { display: flex; align-items: center; gap: 14px; }

/* Photos: product shots are on white; baked-in labels are removed by tools/clean_labels.swift. */
.ph { margin: 0; overflow: hidden; border-radius: var(--r-md); background: var(--well); position: relative; }
.ph img { width: 100%; aspect-ratio: 1; object-fit: contain;
  mix-blend-mode: multiply; transition: scale .5s var(--ease); }

@keyframes rise { from { opacity: 0; translate: 0 14px; } }
@keyframes settle { from { opacity: 0; scale: .97; } }

/* Finish strip: the signature element, real finish samples */
.finishes-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; margin-bottom: 28px; }
.finishes-head h2 { margin: 0; }
.finishes-head p { margin: 0; color: var(--stone); max-width: 32em; }
.swatches { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.swatches li { position: relative; aspect-ratio: 1 / 2.4; border-radius: var(--r-sm); overflow: hidden; outline: 1px solid rgb(0 0 0 / .08); outline-offset: -1px; }
.swatches img { width: 100%; height: 100%; object-fit: cover; transition: scale .5s var(--ease); }
.swatches span { position: absolute; inset: auto 6px 6px; font-size: .78rem; font-weight: 600; line-height: 1.2; color: #fff;
  background: rgb(41 38 39 / .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 6px 8px; border-radius: 4px;
  opacity: 0; translate: 0 6px; transition: opacity .2s var(--ease), translate .2s var(--ease); }
.swatches li:hover span { opacity: 1; translate: 0 0; }
.swatches li:hover img { scale: 1.06; }
@media (hover: none) { .swatches span { opacity: 1; translate: 0 0; } }

/* Split: heading left, content right */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.split > h2 { position: sticky; top: 110px; }
.points { margin: 0; }
.points > div { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.points > div:last-child { border-bottom: 1px solid var(--line); }
.points dt { font-weight: 650; font-size: 1.08rem; letter-spacing: -.01em; }
.points dd { margin: 0; color: var(--stone); }

/* Range */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.cats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cats a { display: block; text-decoration: none; }
.cats .ph { margin-bottom: 14px; }
.cats a:hover .ph img { scale: 1.04; }
.cat-name { display: block; font-weight: 650; font-size: 1.1rem; letter-spacing: -.01em; }
.cat-count { color: var(--stone); font-size: .92rem; }

/* Steps: a real sequence, so numbered */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; grid-template-columns: repeat(5, 1fr); }
.steps li { counter-increment: s; padding: 0 20px 0 0; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--ink); font-weight: 650; margin-bottom: 18px; position: relative; z-index: 1; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: 40px; right: 0; height: 1.5px; background: var(--line); }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--stone); font-size: .95rem; margin: 0; }
.narrow .steps, .steps.vertical { grid-template-columns: 1fr; }
.narrow .steps li { display: grid; grid-template-columns: 56px 1fr; padding: 0 0 28px; }
.narrow .steps li::before { grid-row: span 2; margin: 0; }
.narrow .steps li:not(:last-child)::after { top: 40px; bottom: 0; left: 20px; right: auto; width: 1.5px; height: auto; }

/* Guides */
.guide-list { list-style: none; padding: 0; margin: 0; }
.guide-list li { padding: 22px 0; border-top: 1px solid var(--line); }
.guide-list li:last-child { border-bottom: 1px solid var(--line); }
.guide-list a { font-weight: 650; font-size: 1.2rem; letter-spacing: -.012em; text-decoration: none; }
.guide-list a:hover { text-decoration: underline; }
.guide-list p { margin: 6px 0 0; color: var(--stone); }

/* Inner pages */
.page-head { padding-top: clamp(32px, 6vw, 72px); }
.page-head h1 { margin-bottom: .35em; }
.page-head + section, .narrow > h2 { margin-top: clamp(48px, 6vw, 80px); }
.tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 40px; }
.tiles li { padding: 22px 0; border-top: 1px solid var(--line); }
.tiles h3 { margin-bottom: 6px; }
.tiles p { margin: 0; color: var(--stone); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.cols > div { background: var(--well); border-radius: var(--r-md); padding: 24px 26px; }
.cols h3 { margin-bottom: 10px; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding-left: 30px; position: relative; margin: 10px 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--ink)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.5L13 6.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.note { border-left: 3px solid var(--beech); padding: 4px 0 4px 18px; color: var(--stone); margin: 24px 0 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 1.06rem; padding: 20px 44px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 1.75px; background: currentColor;
  border-radius: 2px; transition: rotate .25s var(--ease); }
.faq summary::after { rotate: 90deg; }
.faq details[open] summary::after { rotate: 0deg; }
.faq details p { color: var(--stone); padding-right: 44px; margin: 0 0 22px; }
@media (prefers-reduced-motion: no-preference) { .faq details[open] p { animation: rise .35s var(--ease); } }
.awards { list-style: none; padding: 0; margin: 0; }
.awards li { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.awards b { font-weight: 650; font-size: 2rem; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.awards h3 { margin-bottom: 4px; }
.awards p { margin: 0; color: var(--stone); }
.sources { font-size: .85rem; color: var(--stone); margin-top: 32px; }

/* Projects */
.projects { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
.projects > li { display: flex; flex-direction: column; }
.projects .where { color: var(--beech-text); font-weight: 600; font-size: .92rem; margin: 0 0 6px; }
.projects h2 { font-size: 1.4rem; margin-bottom: 8px; }
.projects > li > div > p:last-child { color: var(--stone); }
.grid.one { grid-template-columns: 1fr; margin-top: auto; padding-top: 12px; }
.names { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; }
.names li { padding: 14px 0; border-top: 1px solid var(--line); font-weight: 600; }

/* Models */
.filters { position: sticky; top: 76px; z-index: 5; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 14px 0;
  background: rgb(255 255 255 / .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); margin: 24px 0 8px; }
.filters select { font: inherit; font-weight: 600; font-size: .92rem; height: 40px; padding: 0 36px 0 16px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23292627' stroke-width='1.75' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center / 11px no-repeat;
  appearance: none; color: var(--ink); cursor: pointer; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line);
  font-weight: 600; font-size: .92rem; transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease); }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.filters output { margin-left: auto; color: var(--stone); font-size: .92rem; }
.filters output b { color: var(--ink); font-variant-numeric: tabular-nums; }
.cat-h { margin: 56px 0 24px; }
.grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 40px 20px; }
.card[hidden], .cat-h[hidden] { display: none; }
.card { display: flex; flex-direction: column; }
.card-link { display: block; }
.card:hover .ph img { scale: 1.04; }
.card-body { padding-top: 14px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.08rem; }
.kind { color: var(--stone); font-size: .9rem; margin: 2px 0 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tag { font-size: .76rem; font-weight: 600; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; }
.dims { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 0 0 14px; font-size: .86rem; }
.dims dt { color: var(--stone); }
.dims dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.dims small { font-weight: 450; color: var(--stone); margin-left: 3px; }
.card .link { margin-top: auto; align-self: flex-start; font-size: .88rem; }

/* Articles */
.prose { padding-top: clamp(32px, 6vw, 64px); }
.prose h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin: 12px 0 18px; }
.prose h2 { font-size: 1.6rem; margin: 2.2em 0 .6em; }
.prose p, .prose li { max-width: 40em; overflow-wrap: anywhere; }
.prose li { margin-bottom: 4px; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; margin: 8px 0 24px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 12px 12px 12px 0; text-align: left; vertical-align: top; }
.prose th { font-weight: 650; }
.prose pre { background: var(--well); padding: 20px; border-radius: var(--r-md); overflow-x: auto; font-size: .86rem; line-height: 1.7; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.crumbs a { color: var(--stone); font-weight: 600; text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.byline { color: var(--stone); font-size: .92rem; }

/* Contact: the one dark surface, in Wenge */
.contact { padding: 0 clamp(12px, 2vw, 24px); }
.contact-in { background: var(--blue); color: #fff; border-radius: var(--r-lg); padding: clamp(36px, 6vw, 72px); display: grid;
  grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end; max-width: 1240px; }
.contact h2 { color: #fff; }
.contact .lead { color: rgb(255 255 255 / .8); margin: 0; }
.contact-act { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.contact-person { flex-basis: 100%; text-align: right; color: rgb(255 255 255 / .72); font-size: .88rem; margin: 6px 0 0; }
.contact :focus-visible { outline-color: #fff; }

/* Footer */
.foot { margin-top: clamp(56px, 8vw, 96px); padding: 48px 0 56px; border-top: 1px solid var(--line); font-size: .92rem; }
.foot-in { display: grid; grid-template-columns: 2fr 1.2fr 1fr; gap: 32px; }
.foot h2 { font-size: .92rem; letter-spacing: 0; margin-bottom: 12px; }
.foot p { color: var(--stone); }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 6px; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* Mobile menu (native <details>) */
.m-nav { display: none; position: relative; }
.m-nav summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--line); transition: border-color .15s var(--ease); }
.m-nav summary::-webkit-details-marker { display: none; }
.m-nav summary:hover { border-color: var(--ink); }
.m-nav summary span, .m-nav summary span::before { display: block; width: 16px; height: 1.75px; background: var(--ink); border-radius: 2px;
  transition: rotate .25s var(--ease), translate .25s var(--ease); }
.m-nav summary span { translate: 0 -3px; }
.m-nav summary span::before { content: ""; translate: 0 6px; }
.m-nav[open] summary span { rotate: 45deg; translate: 0 0; }
.m-nav[open] summary span::before { rotate: -90deg; translate: 0 0; }
.m-nav nav { position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, 86vw); background: #fff; border-radius: var(--r-md);
  padding: 8px; box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 16px 40px -12px rgb(41 38 39 / .28); display: grid; }
.m-nav nav a { padding: 12px 14px; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; }
.m-nav nav a:hover { background: var(--well); }
.m-quote { display: none; }
@media (prefers-reduced-motion: no-preference) { .m-nav[open] nav { animation: settle .2s var(--ease); transform-origin: top right; } }

/* Business pages */
.sector-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.sector-head .ph { max-width: 420px; justify-self: end; width: 100%; }
.points dd .link { display: inline-block; margin-top: 8px; color: var(--ink); font-size: .92rem; }
.who { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 0 40px; }
.who a { display: grid; grid-template-columns: 88px 1fr; gap: 4px 20px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); text-decoration: none; }
.who .ph { grid-row: span 2; border-radius: var(--r-sm); }
.who .ph img { transition: scale .4s var(--ease); }
.who a:hover .ph img { scale: 1.06; }
.who-t { font-weight: 650; font-size: 1.12rem; letter-spacing: -.012em; align-self: end; }
.who-d { color: var(--stone); font-size: .94rem; line-height: 1.45; align-self: start; }
.page-head .who { margin-top: 40px; }
.narrow-text { max-width: 44em; }
.table-wrap { overflow-x: auto; margin-top: 8px; }
.spec-table { border-collapse: collapse; width: 100%; font-size: .94rem; }
.spec-table td { font-variant-numeric: tabular-nums; }
.spec-table th, .spec-table td { border-bottom: 1px solid var(--line); padding: 12px 16px 12px 0; text-align: left; white-space: nowrap; }
.spec-table thead th { font-weight: 600; color: var(--stone); font-size: .84rem; vertical-align: bottom; white-space: normal; }
.spec-table tbody th { font-weight: 600; }
.spec-table a { text-decoration: none; }
.spec-table a:hover { text-decoration: underline; }
.sources ol { padding-left: 1.2em; margin: 0; }
.sources li { margin-bottom: 6px; overflow-wrap: anywhere; }
.sources h2 { font-size: 1rem; letter-spacing: 0; color: var(--ink); }

/* Model spec sheet */
.model { padding-top: clamp(24px, 4vw, 48px); }
.model-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; margin-top: 16px; }
.model-info h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin-bottom: 10px; }
.model-info .kind { font-size: 1rem; }
.specs { display: grid; grid-template-columns: 1fr 1fr; margin: 24px 0 8px; border-top: 1px solid var(--line); }
.specs > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--stone); font-size: .88rem; }
.specs dd { margin: 2px 0 0; font-size: 1.6rem; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.specs small { font-size: .9rem; font-weight: 450; color: var(--stone); margin-left: 4px; letter-spacing: 0; }
.fin-list { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.fin-list li { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9rem; }
.fin-list img, .sw-blank { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; outline: 1px solid rgb(0 0 0 / .1); outline-offset: -1px; }
.sw-blank { display: inline-block; background: var(--well); }
.model h3 { margin-bottom: 8px; }
.spec { background: var(--well); border-radius: var(--r-md); padding: 22px 24px; font-size: .98rem; line-height: 1.65; margin: 0 0 14px; }
.use-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 1.08rem; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }

/* Planner */
.tool { background: var(--well); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); margin-bottom: 20px; }
.tool h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.tool label { display: grid; gap: 8px; font-weight: 600; margin: 18px 0 8px; }
.tool input, .tool select { font: inherit; font-weight: 600; height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: #fff; color: var(--ink); max-width: 100%; transition: border-color .15s var(--ease); }
.tool input { width: 180px; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.tool input:hover, .tool select:hover { border-color: var(--stone); }
.tool input:focus-visible, .tool select:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.tool .muted { font-size: .9rem; margin: 0; max-width: 40em; }
.tool output { display: block; margin-top: 24px; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 650; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.tool .spec-table { margin-top: 20px; }
.tool .spec-table td { font-weight: 650; font-size: 1.1rem; }
.tool .spec-table th { white-space: normal; }
.tool select { width: 100%; }
#event output { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; font-variant-numeric: normal; }

@media print {
  .top, .foot, .contact, .no-print, .skip { display: none !important; }
  main > section:not(:first-child) { margin-top: 24px; }
  .model-in { grid-template-columns: 1fr 1.3fr; }
  .split { grid-template-columns: 1fr 2.4fr; }
  .split > h2 { position: static; font-size: 1.2rem; }
  .ph { background: none; }
  .spec { background: none; padding: 0; }
}

/* Translate bar: flags open the page in Google Translate (nothing loads from Google until a click) */
.translate { border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--stone); }
.translate-in { display: flex; align-items: center; gap: 14px; min-height: 40px; padding-left: calc(clamp(20px, 4vw, 48px) + 76px); }
.translate-label { white-space: nowrap; font-weight: 500; }
.flags { list-style: none; margin: 0; padding: 4px 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); }
.flags::-webkit-scrollbar { display: none; }
.flags li { flex: none; }
.flag { display: block; border-radius: 3px; padding: 3px; transition: background-color .15s var(--ease); }
.flag img { max-width: none; width: 22px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; outline: 1px solid oklch(0 0 0 / .1); outline-offset: -1px; }
a.flag:hover { background: var(--well); }
.flag[aria-current] { background: var(--well); }

/* Header with the hanging pennant logo, as on rikostyle.com */
.top-in { position: relative; padding-left: calc(clamp(20px, 4vw, 48px) + 76px); }
.brand { position: absolute; left: clamp(20px, 4vw, 48px); top: -41px; width: 58px; transform-origin: top left;
  transition: translate .3s var(--ease), scale .3s var(--ease); filter: drop-shadow(0 6px 12px rgb(19 71 147 / .18)); }
.brand img { width: 100%; height: auto; }
.top.scrolled .brand { translate: 0 41px; scale: .6; }
.brand-word { font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; text-decoration: none; color: var(--blue); }
.top-act { margin-left: 0; }
.nav { margin-left: auto; }
.nav a[aria-current] { color: var(--blue); background: rgb(19 71 147 / .07); }

/* Masthead */
.masthead { position: relative; color: #fff; min-height: min(80vh, 760px); display: grid; align-items: end; overflow: hidden; }
.mast-ph { position: absolute; inset: 0; margin: 0; }
.mast-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.mast-ph::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(8 18 38 / .62) 0%, rgb(8 18 38 / .25) 55%, rgb(8 18 38 / 0) 80%), linear-gradient(180deg, rgb(8 18 38 / 0) 40%, rgb(8 18 38 / .55) 100%); }
.mast-text { position: relative; padding-bottom: clamp(36px, 6vw, 72px); width: 100%; }
.masthead h1 { max-width: 15em; font-size: clamp(2.4rem, 5.2vw, 4.4rem); margin-bottom: .35em; text-shadow: 0 1px 24px rgb(0 0 0 / .2); }
.masthead .lead { color: rgb(255 255 255 / .88); max-width: 36em; }
@media (prefers-reduced-motion: no-preference) {
  .home .rise { animation: rise .8s var(--ease) both; }
  .home .rise:nth-child(2) { animation-delay: .1s; }
  .home .rise:nth-child(3) { animation-delay: .2s; }
  .home .mast-ph img { animation: settle 1.4s var(--ease) both; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Topics menu */
.topics { border-bottom: 1px solid var(--line); }
.topics-in { display: flex; gap: 4px 28px; overflow-x: auto; scrollbar-width: none; }
.topics-in::-webkit-scrollbar { display: none; }
.topics a { flex: none; text-decoration: none; font-weight: 600; color: var(--stone); padding: 20px 0 16px; border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .15s var(--ease), border-color .15s var(--ease); }
.topics a:hover { color: var(--ink); }
.topics a[aria-current] { color: var(--blue); border-bottom-color: var(--blue); }
.topics + section { margin-top: clamp(40px, 6vw, 72px) !important; }
main > section.topic-head + section { margin-top: clamp(32px, 4vw, 48px); }
.post-head .crumbs a { color: var(--blue); }

/* Article cards */
.posts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; }
.post-link { display: flex; flex-direction: column; gap: 16px; text-decoration: none; height: 100%; }
.post-ph { margin: 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 2; background: var(--well); }
.post-ph img { width: 100%; height: 100%; object-fit: cover; outline: 1px solid oklch(0 0 0 / .1); outline-offset: -1px; border-radius: inherit; transition: scale .5s var(--ease); }
.post-ph.on-white img { object-fit: contain; mix-blend-mode: multiply; padding: 6%; outline: 0; }
.post-ph.on-white:has(img[src*='lineup-']) { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.post-ph.on-white img[src*='lineup-'] { padding: 0; }
.post-link:hover .post-ph img { scale: 1.03; }
.post-cat { color: var(--blue); font-weight: 600; font-size: .86rem; margin: 0 0 6px; }
.post h3 { font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.2; }
.post-link:hover h3 { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
.post-desc { color: var(--stone); margin: 10px 0 0; }
.post-meta { color: var(--stone); font-size: .86rem; margin: 10px 0 0; }
.post-big { grid-column: 1 / -1; }
.post-big .post-link { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.post-big .post-ph { aspect-ratio: 16 / 10; border-radius: var(--r-lg); }
.post-big h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.03em; line-height: 1.08; }
.post-big .post-desc { font-size: 1.08rem; }

/* Topic tiles */
.topic-tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.topic-tiles a { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.topic-tiles .post-ph { aspect-ratio: 4 / 5; margin-bottom: 14px; }
.topic-tiles a:hover .post-ph img { scale: 1.03; }
.tt-name { font-weight: 650; font-size: 1.1rem; letter-spacing: -.012em; }
.tt-desc { color: var(--stone); font-size: .9rem; line-height: 1.45; margin: 6px 0 10px; }
.tt-count { margin-top: auto; font-size: .84rem; font-weight: 600; color: var(--blue); }

/* Topic page */
.topic-head { padding-top: clamp(24px, 4vw, 48px); }
.topic-head .lead { margin: 0; }
.soon { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.soon .post-ph { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }

/* Factory band */
.factory-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.factory-in figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; }
.factory-in img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.plain-links { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }

/* Article page */
.post-head { padding-top: clamp(24px, 4vw, 48px); }
.post-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); margin: 10px 0 18px; }
.post-head .lead { margin-bottom: 18px; }
.post-hero { margin-top: 36px; margin-bottom: 0; }
.post-hero img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--r-lg); outline: 1px solid oklch(0 0 0 / .1); outline-offset: -1px; }
.post-hero.on-white img { object-fit: contain; background: var(--well); mix-blend-mode: normal; padding: 3%; }
.post-page .prose { padding-top: clamp(32px, 5vw, 56px); }
.foot-logo { width: 40px; margin-bottom: 16px; }
.foot-in { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }

/* Article parts */
.post-hero figcaption { color: var(--stone); font-size: .86rem; margin-top: 10px; }
.post-hero.on-white img { background: #fff; padding: 0; outline: 1px solid var(--line); }
.takeaways { background: var(--well); border-radius: var(--r-md); padding: 22px 26px; margin: 0 0 40px;}
.takeaways h2 { font-size: .95rem !important; letter-spacing: 0; color: var(--blue); margin: 0 0 10px !important; }
.takeaways ul { margin: 0; padding-left: 1.1em; }
.takeaways li { margin: 6px 0; font-weight: 500; }
.prose h2 { scroll-margin-top: 100px; }
.prose blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--sand); font-size: 1.12rem; color: var(--ink); }
.prose blockquote p { margin: 0; }
.prose figure { margin: 32px 0; }
.prose figure img { width: 100%; max-height: 520px; object-fit: contain; background: #fff; border-radius: var(--r-md); outline: 1px solid oklch(0 0 0 / .1); outline-offset: -1px; }
.prose figcaption { color: var(--stone); font-size: .86rem; margin-top: 8px; }
.prose a { color: var(--blue); text-decoration-thickness: 1px; }
.shelf-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: end; margin-bottom: 28px; }
.shelf-head h2 { margin: 0; }
.shelf-head p { margin: 0; }
.partner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center;
  border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px); background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -32px rgb(19 71 147 / .35); }
.partner h2 { color: var(--blue); }
.partner p { color: var(--stone); max-width: 34em; }
.partner .ctas { margin-top: 20px; }
.partner-list { list-style: none; padding: 0; margin: 0; }
.partner-list a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-top: 1px solid var(--line);
  text-decoration: none; font-weight: 600; transition: color .15s var(--ease); }
.partner-list li:last-child a { border-bottom: 1px solid var(--line); }
.partner-list a::after { content: ""; width: 8px; height: 8px; border-top: 1.75px solid currentColor; border-right: 1.75px solid currentColor; rotate: 45deg; margin-right: 4px;
  transition: translate .2s var(--ease); }
.partner-list a:hover { color: var(--blue); }
.partner-list a:hover::after { translate: 3px 0; }

/* Company profile pages (catalogue 2025) */
.profile-pages { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.profile-pages a { display: block; text-decoration: none; font-weight: 600; }
.profile-pages img { width: 100%; aspect-ratio: 1654 / 2339; object-fit: cover; border-radius: var(--r-sm); outline: 1px solid oklch(0 0 0 / .1); outline-offset: -1px;
  box-shadow: 0 18px 40px -24px rgb(19 71 147 / .35); transition: translate .3s var(--ease), box-shadow .3s var(--ease); }
.profile-pages a:hover img { translate: 0 -4px; box-shadow: 0 26px 48px -24px rgb(19 71 147 / .45); }
.profile-pages span { display: block; margin-top: 12px; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .top-act { margin-left: auto; }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .m-nav { display: block; }
  .top-act { margin-left: auto; }
  .swatches { grid-template-columns: repeat(5, 1fr); }
  .swatches li { aspect-ratio: 1 / 1.3; }
  .steps { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 56px 1fr; padding: 0 0 28px; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .steps li:not(:last-child)::after { top: 40px; bottom: 0; left: 20px; right: auto; width: 1.5px; height: auto; }
}
@media (max-width: 860px) {
  .split, .finishes-head, .contact-in, .foot-in, .sector-head, .model-in { grid-template-columns: 1fr; }
  .sector-head .ph { justify-self: start; max-width: 320px; }
  .post-big .post-link, .soon, .factory-in, .partner, .shelf-head { grid-template-columns: 1fr; }
  .translate-label { display: none; }
  .who { grid-template-columns: 1fr; }
  .split > h2 { position: static; }
  .cats, .projects { grid-template-columns: 1fr 1fr; }
  .points > div { grid-template-columns: 1fr; gap: 4px; }
  .contact-act { justify-content: flex-start; }
  .contact-person { text-align: left; }
}
@media (max-width: 560px) {
  .cats, .projects { grid-template-columns: 1fr; }
  .contact-in > * { min-width: 0; }
  .contact-act .btn { white-space: normal; text-align: center; padding: 12px 22px; }
  .prose table { display: block; overflow-x: auto; }
  .top-in { gap: 12px; }
  .top-act > .btn { display: none; }
  .m-nav .m-quote { display: block; background: var(--ink); color: #fff; margin-top: 4px; text-align: center; }
  .m-nav .m-quote:hover { background: var(--walnut); }
  .grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .dims { grid-template-columns: 1fr; }
  .who a { grid-template-columns: 72px 1fr; }
  .posts, .topic-tiles, .foot-in { grid-template-columns: 1fr; }
  .profile-pages { grid-template-columns: 1fr 1fr; }
  .brand { width: 46px; }
  .top-in, .translate-in { padding-left: calc(20px + 60px); }
  .tool input { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; } html { scroll-behavior: auto; } }
