/* ==========================================================================
   Brand 2026 — site-wide layer for the legacy (IZZA design-system) pages.

   The palette, type and corners are already swapped in the tokens, the page
   fragments and each area's stylesheet (tools/brand26/rebrand.py). This file
   only carries what inline styles cannot express: hover states for the
   design-system Button, the paper canvas behind every page, and selection.
   The redesign-2026 pages (.rh2026) and the catalog (.rhc) scope their own.
   ========================================================================== */

html body { background-color: #f2eee6; }
::selection { background: rgba(181, 69, 27, 0.2); }

/* Design-system Button (assets/design-system/bundle.js renders inline styles) */
.ds-btn { -webkit-font-smoothing: antialiased; }
.ds-btn--primary:hover, .ds-btn--primary:focus-visible { background-color: #121110 !important; }
.ds-btn--white:hover, .ds-btn--white:focus-visible { background-color: #ffffff !important; }
.ds-btn--outline:hover, .ds-btn--outline:focus-visible { background-color: #121110 !important; color: #f2eee6 !important; }
.ds-btn--outline-white:hover, .ds-btn--outline-white:focus-visible { background-color: #f2eee6 !important; color: #121110 !important; }
.ds-btn:focus-visible { outline: 2px solid #b5451b; outline-offset: 3px; }

/* Headings on the legacy canvases follow the 2026 type setting */
.ratahome-design-screen h1, .ratahome-design-screen h2, .ratahome-design-screen h3 { font-family: var(--font-sans); text-wrap: balance; }

/* --------------------------------------------------------------------------
   Answer blocks for the legacy pages (.rhg): an "In short" band under the
   hero, and a numbered FAQ with question-style links before the final CTA.
   Same visual language as the redesign's .faq2 / .qa (redesign.css), scoped
   to its own prefix so it never meets the inline-styled fragments around it.
   -------------------------------------------------------------------------- */
.rhg { --rhg-paper: #f2eee6; --rhg-ink: #121110; --rhg-ink2: #2b2825; --rhg-mute: #716b64; --rhg-line: rgba(18, 17, 16, .16); --rhg-line2: rgba(18, 17, 16, .45); --rhg-rust: #b5451b; --rhg-ease: cubic-bezier(.16, 1, .3, 1);
  display: block; color: var(--rhg-ink); font: 400 16px/1.6 var(--font-sans, "Instrument Sans", system-ui, sans-serif); text-align: left; -webkit-font-smoothing: antialiased; }
.rhg *, .rhg *::before, .rhg *::after { box-sizing: border-box; }
.rhg-wrap { max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 5.6vw, 80px); }
.rhg-eyebrow { display: inline-block; margin: 0 0 12px; font: 500 11.5px/1.4 var(--font-label, "IBM Plex Mono", ui-monospace, monospace); letter-spacing: .14em; text-transform: uppercase; color: var(--rhg-rust); }

.rhg-brief { background: var(--rhg-paper); border-top: 1px solid var(--rhg-line); border-bottom: 1px solid var(--rhg-line); padding: 56px 0 60px; }
.rhg-brief__grid { display: grid; grid-template-columns: minmax(160px, 3fr) 9fr; gap: 48px; align-items: start; }
.rhg-brief__lead { margin: 0; max-width: 64ch; font-size: 21px; line-height: 1.55; color: var(--rhg-ink2); text-wrap: pretty; }
.rhg-brief__lead strong { font-weight: 600; color: var(--rhg-ink); }
.rhg-brief__facts { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rhg-line2); }
.rhg-brief__facts li { position: relative; padding: 20px 24px 0 0; }
.rhg-brief__facts li + li { padding-left: 24px; border-left: 1px solid var(--rhg-line); }
.rhg-brief__facts li::before { content: ""; position: absolute; top: -1px; left: 0; width: 28px; height: 2px; background: var(--rhg-rust); }
.rhg-brief__facts li + li::before { left: 24px; }
.rhg-brief__facts b { display: block; margin-bottom: 6px; font: 600 26px/1.1 var(--font-sans, "Instrument Sans", system-ui, sans-serif); letter-spacing: -.01em; color: var(--rhg-ink); }
.rhg-brief__facts span { display: block; font-size: 14px; line-height: 1.45; color: var(--rhg-mute); }
.rhg-brief__meta { margin: 22px 0 0; font: 500 11px/1.5 var(--font-label, "IBM Plex Mono", ui-monospace, monospace); letter-spacing: .1em; text-transform: uppercase; color: var(--rhg-mute); }

.rhg-faq { background: #faf8f4; border-top: 1px solid var(--rhg-line); padding: 104px 0; }
.rhg-faq__grid { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
.rhg-faq__side { position: sticky; top: 112px; }
.rhg-h2 { margin: 0 0 12px; font: 600 clamp(28px, 2.7vw, 38px)/1.15 var(--font-sans, "Instrument Sans", system-ui, sans-serif); letter-spacing: -.025em; color: var(--rhg-ink); text-wrap: balance; }
.rhg-faq__side > p:not(.rhg-eyebrow) { margin: 0 0 26px; max-width: 40ch; color: var(--rhg-ink2); }
.rhg-links { display: grid; border-top: 1px solid var(--rhg-line2); }
.rhg-links a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--rhg-line); color: var(--rhg-ink); font-size: 15px; font-weight: 500; line-height: 1.4; text-decoration: none; transition: color .2s, padding-left .35s var(--rhg-ease); }
.rhg-links a svg { flex: none; width: 16px; height: 16px; color: var(--rhg-mute); transition: transform .35s var(--rhg-ease), color .2s; }
.rhg-links a:hover, .rhg-links a:focus-visible { color: var(--rhg-rust); padding-left: 6px; }
.rhg-links a:hover svg, .rhg-links a:focus-visible svg { color: var(--rhg-rust); transform: translateX(4px); }
.rhg-qa-list { display: grid; gap: 10px; }
.rhg-qa { background: #fff; border: 1px solid var(--rhg-line); border-radius: 4px; transition: border-color .25s, box-shadow .35s; }
.rhg-qa:hover { border-color: var(--rhg-line2); }
.rhg-qa[open] { border-color: var(--rhg-ink); box-shadow: 0 20px 44px -32px rgba(18, 17, 16, .4); }
.rhg-qa summary { display: grid; grid-template-columns: 30px 1fr 32px; gap: 12px; align-items: center; padding: 18px 20px; list-style: none; cursor: pointer; font-size: 17px; font-weight: 500; line-height: 1.35; color: var(--rhg-ink); }
.rhg-qa summary::-webkit-details-marker { display: none; }
.rhg-qa summary::marker { content: ""; }
.rhg-qa summary:focus-visible { outline: 2px solid var(--rhg-rust); outline-offset: 3px; border-radius: 4px; }
.rhg-qn { font: 500 12px/1 var(--font-label, "IBM Plex Mono", ui-monospace, monospace); color: var(--rhg-mute); transition: color .25s; }
.rhg-qa[open] .rhg-qn { color: var(--rhg-rust); }
.rhg-qi { position: relative; width: 32px; height: 32px; border: 1px solid var(--rhg-line2); border-radius: 50%; transition: background .25s, border-color .25s, transform .45s var(--rhg-ease); }
.rhg-qi::before, .rhg-qi::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--rhg-ink); transition: background .25s; }
.rhg-qi::after { transform: rotate(90deg); }
.rhg-qa:hover .rhg-qi { border-color: var(--rhg-ink); }
.rhg-qa[open] .rhg-qi { transform: rotate(135deg); background: var(--rhg-ink); border-color: var(--rhg-ink); }
.rhg-qa[open] .rhg-qi::before, .rhg-qa[open] .rhg-qi::after { background: #fff; }
.rhg-qa-a { padding: 0 64px 20px 62px; }
.rhg-qa-a p { margin: 0; max-width: 62ch; font-size: 15.5px; line-height: 1.62; color: var(--rhg-ink2); }
.rhg-qa-a a { color: var(--rhg-ink); text-decoration: underline; text-decoration-color: var(--rhg-line2); text-underline-offset: 3px; }
.rhg-qa-a a:hover { color: var(--rhg-rust); text-decoration-color: currentColor; }

@media (max-width: 1024px) {
  .rhg-faq { padding: 80px 0; }
  .rhg-faq__grid { grid-template-columns: 1fr; gap: 36px; }
  .rhg-faq__side { position: static; }
  .rhg-brief__grid { grid-template-columns: 1fr; gap: 4px; }
  .rhg-brief__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rhg-brief__facts li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .rhg-brief__facts li:nth-child(odd)::before { left: 0; }
  .rhg-brief__facts li:nth-child(n+3) { margin-top: 22px; }
}
@media (max-width: 640px) {
  .rhg-brief { padding: 40px 0 44px; }
  .rhg-brief__lead { font-size: 18px; }
  .rhg-brief__facts b { font-size: 22px; }
  .rhg-faq { padding: 64px 0; }
  .rhg-qa summary { grid-template-columns: 26px 1fr 30px; gap: 10px; padding: 16px; font-size: 16px; }
  .rhg-qi { width: 30px; height: 30px; }
  .rhg-qa-a { padding: 0 16px 18px 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .rhg *, .rhg *::before, .rhg *::after { transition: none !important; }
}

/* Guide index (/furniture-guides/): every guide listed under the question it answers. */
.rhg-index { background: #faf8f4; border-top: 1px solid rgba(18, 17, 16, .16); padding: 96px 0; }
.rhg-index__lead { margin: 0 0 40px; max-width: 60ch; color: #2b2825; }
.rhg-index__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; align-items: start; }
.rhg-h3 { margin: 0 0 14px; font: 600 13px/1.4 var(--font-label, "IBM Plex Mono", ui-monospace, monospace); letter-spacing: .12em; text-transform: uppercase; color: #121110; }
@media (max-width: 1100px) { .rhg-index__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rhg-index { padding: 64px 0; } .rhg-index__grid { grid-template-columns: 1fr; } }
.rhg-index--blog .rhg-index__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rhg-h3 a { color: inherit; text-decoration: none; }
.rhg-h3 a:hover { color: #b5451b; }
@media (max-width: 1100px) { .rhg-index--blog .rhg-index__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rhg-index--blog .rhg-index__grid { grid-template-columns: 1fr; } }

/* Company details on /about/ (#company): the operating company, its business
   licence and the official registry link, linked from the footer and the
   privacy policy. Same .rhg tokens as the answer blocks above. */
.rhg-co { background: #faf8f4; border-top: 1px solid var(--rhg-line); padding: 96px 0 104px; scroll-margin-top: 96px; }
.rhg-co__head { max-width: 780px; margin-bottom: 44px; }
.rhg-co__lead { margin: 0; font-size: 17px; line-height: 1.65; color: var(--rhg-ink2); text-wrap: pretty; }
.rhg-co__lead strong { font-weight: 600; color: var(--rhg-ink); }
.rhg-co__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.rhg-co__list { margin: 0; border-top: 1px solid var(--rhg-line2); }
.rhg-co__list > div { display: grid; grid-template-columns: minmax(150px, 2fr) 5fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--rhg-line); }
.rhg-co__list dt { padding-top: 3px; font: 500 11px/1.6 var(--font-label, "IBM Plex Mono", ui-monospace, monospace); letter-spacing: .1em; text-transform: uppercase; color: var(--rhg-mute); }
.rhg-co__list dd { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--rhg-ink); }
.rhg-co__list dd small { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: var(--rhg-mute); }
.rhg-co__code { font: 500 15px/1.55 var(--font-label, "IBM Plex Mono", ui-monospace, monospace); letter-spacing: .06em; }
.rhg-co__doc { position: sticky; top: 112px; margin: 0; }
.rhg-co__doc > a { display: block; }
.rhg-co__doc img { display: block; width: 100%; height: auto; background: #fff; border: 1px solid var(--rhg-line); border-radius: 2px; box-shadow: 0 24px 48px -36px rgba(18, 17, 16, .45); transition: transform .5s var(--rhg-ease), box-shadow .5s var(--rhg-ease); }
.rhg-co__doc > a:hover img { transform: translateY(-3px); box-shadow: 0 30px 56px -36px rgba(18, 17, 16, .5); }
.rhg-co__doc figcaption { margin-top: 14px; font-size: 13.5px; line-height: 1.55; color: var(--rhg-mute); }
.rhg-co__doc figcaption a, .rhg-co__notes a { color: var(--rhg-ink); text-decoration: underline; text-decoration-color: var(--rhg-line2); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.rhg-co__doc figcaption a:hover, .rhg-co__notes a:hover { color: var(--rhg-rust); text-decoration-color: currentColor; }
.rhg-co__notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rhg-line); }
.rhg-co__notes p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--rhg-ink2); }
.rhg-co__notes b { font-weight: 600; color: var(--rhg-ink); }
@media (max-width: 960px) { .rhg-co__grid { grid-template-columns: 1fr; gap: 36px; } .rhg-co__doc { position: static; max-width: 640px; } }
@media (max-width: 640px) { .rhg-co { padding: 64px 0 72px; } .rhg-co__head { margin-bottom: 32px; } .rhg-co__list > div { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; } .rhg-co__notes { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; } }
@media (prefers-reduced-motion: reduce) { .rhg-co__doc img { transition: none; } }
