/* «Домовой совет»: bento layout for the SOMY household edition. System fonts, no external assets. */
:root {
  --bg: #f1efe9;
  --tile: #ffffff;
  --tile-2: #f7f6f2;
  --ink: #1b1d1c;
  --muted: #5d625f;
  --line: rgba(20, 24, 22, .09);
  --accent: #2f6b4f;
  --accent-ink: #ffffff;
  --intro: #1f2a24;
  --intro-ink: #f4f3ee;
  --shadow: 0 1px 2px rgba(20, 24, 22, .05), 0 8px 24px -14px rgba(20, 24, 22, .22);
  --radius: 26px;
  --radius-sm: 16px;
  --gap: 14px;
  --laundry: #dcebfb; --dishwasher: #d5efe2; --drains: #e6dffb;
  --home: #fbefc6; --pro: #fde0cf; --outdoor: #e2ebd2;
  --laundry-ink: #1f4f86; --dishwasher-ink: #1d6a4a; --drains-ink: #57409a;
  --home-ink: #7c5c08; --pro-ink: #9a4a22; --outdoor-ink: #4c6424;
  color-scheme: light;
}
:root[data-theme=dark] {
  --bg: #101211; --tile: #1a1d1c; --tile-2: #222624; --ink: #ecebe6; --muted: #a7aca9;
  --line: rgba(255, 255, 255, .09); --accent: #8fd1ad; --accent-ink: #0f1a14; --intro: #26332c; --intro-ink: #f4f3ee;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 26px -16px rgba(0, 0, 0, .7);
  --laundry: #1c2a39; --dishwasher: #172d25; --drains: #242036; --home: #302916; --pro: #36241b; --outdoor: #232d1b;
  --laundry-ink: #a9cdf5; --dishwasher-ink: #9edbbd; --drains-ink: #c7b8f5; --home-ink: #f0d27e; --pro-ink: #f5b896; --outdoor-ink: #c3db98;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --bg: #101211; --tile: #1a1d1c; --tile-2: #222624; --ink: #ecebe6; --muted: #a7aca9;
    --line: rgba(255, 255, 255, .09); --accent: #8fd1ad; --accent-ink: #0f1a14; --intro: #26332c; --intro-ink: #f4f3ee;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 26px -16px rgba(0, 0, 0, .7);
    --laundry: #1c2a39; --dishwasher: #172d25; --drains: #242036; --home: #302916; --pro: #36241b; --outdoor: #232d1b;
    --laundry-ink: #a9cdf5; --dishwasher-ink: #9edbbd; --drains-ink: #c7b8f5; --home-ink: #f0d27e; --pro-ink: #f5b896; --outdoor-ink: #c3db98;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 6rem; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.55 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 760; text-wrap: balance; }
p { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(100% - 28px, 1240px); margin-inline: auto; }
main.wrap { padding-block: 8px 40px; }
main:focus { outline: none; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); }
.skip-link:focus { top: 12px; }

/* Rubric colour sets */
.rub-laundry { --rub: var(--laundry); --rub-ink: var(--laundry-ink); }
.rub-dishwasher { --rub: var(--dishwasher); --rub-ink: var(--dishwasher-ink); }
.rub-drains { --rub: var(--drains); --rub-ink: var(--drains-ink); }
.rub-home { --rub: var(--home); --rub-ink: var(--home-ink); }
.rub-pro { --rub: var(--pro); --rub-ink: var(--pro-ink); }
.rub-outdoor { --rub: var(--outdoor); --rub-ink: var(--outdoor-ink); }

/* Header */
.topbar { position: sticky; top: 0; z-index: 20; padding-top: 12px; background: linear-gradient(var(--bg) 70%, transparent); }
.topbar-in {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px 16px;
  padding: 10px 12px 10px 18px; border-radius: 22px; background: var(--tile); box-shadow: var(--shadow); border: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em; white-space: nowrap; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 11px); grid-template-rows: repeat(2, 11px); gap: 3px; }
.brand-mark i { border-radius: 4px; background: var(--laundry-ink); }
.brand-mark i:nth-child(2) { background: var(--home-ink); }
.brand-mark i:nth-child(3) { background: var(--dishwasher-ink); }
.brand-mark i:nth-child(4) { background: var(--pro-ink); }
.search { position: relative; display: flex; gap: 6px; justify-self: center; width: min(100%, 440px); }
.search input {
  flex: 1; min-width: 0; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--tile-2);
}
.search input:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.search button, .tile button, .contact-form button {
  height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 650; cursor: pointer;
}
.search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 30; display: grid; gap: 2px; padding: 8px;
  border-radius: 18px; background: var(--tile); border: 1px solid var(--line); box-shadow: var(--shadow); max-height: 60vh; overflow: auto;
}
.search-results[hidden] { display: none; }
.search-results a { padding: 10px 12px; border-radius: 12px; text-decoration: none; }
.search-results a:hover, .search-results a:focus { background: var(--tile-2); }
.search-results p { padding: 10px 12px; color: var(--muted); }
.header-actions { display: flex; gap: 6px; align-items: center; }
.icon-btn {
  display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--tile-2); text-decoration: none; font-size: .86rem; font-weight: 650; cursor: pointer;
}
.nav { grid-column: 1 / -1; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; text-decoration: none;
  font-size: .9rem; font-weight: 600; background: var(--tile-2);
}
.nav a::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--rub-ink); }
.nav a:hover, .nav a[aria-current] { background: var(--rub); color: var(--rub-ink); }
.menu-btn { display: none; }
.theme-icon { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }

/* Grid and tiles */
.bento-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); grid-auto-flow: row dense; margin-top: var(--gap); }
.span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; } .span-12 { grid-column: 1 / -1; }
.rows-2 { grid-row: span 2; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 24px; border-radius: var(--radius);
  background: var(--tile); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.tile h2 { font-size: 1.35rem; }
.kicker { display: inline-block; font-size: .74rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.grid-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px 6px 0; }
.grid-heading h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.grid-heading p { color: var(--muted); }
.button-link {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 650; font-size: .92rem;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; padding: 7px 13px; border-radius: 999px; background: var(--rub, var(--tile-2)); color: var(--rub-ink, var(--ink)); text-decoration: none; font-size: .88rem; font-weight: 620; }
.chip[aria-current] { outline: 2px solid currentColor; outline-offset: -2px; }

/* Home intro */
.tile-intro { background: var(--intro); color: var(--intro-ink); border-color: transparent; justify-content: space-between; gap: 16px; padding: 28px; }
.tile-intro .kicker { color: color-mix(in srgb, var(--intro-ink) 70%, transparent); }
.tile-intro h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.02; letter-spacing: -.035em; }
.tile-intro p { color: color-mix(in srgb, var(--intro-ink) 82%, transparent); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.stats div { padding: 12px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--intro-ink) 9%, transparent); }
.stats dt { font-size: .76rem; opacity: .8; }
.stats dd { margin: 0; font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; }

/* Story tiles */
.story { padding: 0; overflow: hidden; }
.story-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.story-image { overflow: hidden; aspect-ratio: 16 / 9; background: var(--rub); }
.story-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.story-copy { display: flex; flex-direction: column; gap: 8px; padding: 18px 22px 22px; flex: 1; }
.story .kicker { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--rub); color: var(--rub-ink); letter-spacing: .05em; }
.story h2, .story h3 { font-size: 1.22rem; }
.story p { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.story .byline { margin-top: auto; padding-top: 6px; font-size: .84rem; color: var(--muted); }
.story-link:hover h2, .story-link:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) { .story-link:hover img { transform: scale(1.04); } }
.rows-2.story .story-image { aspect-ratio: 4 / 3; }
.rows-2.story p { -webkit-line-clamp: 5; }
.story-hero { min-height: 540px; color: #fff; }
.story.story-hero .story-image { position: absolute; inset: 0; aspect-ratio: auto; }
.story-hero .story-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(0,0,0,.5) 55%, rgba(0,0,0,.86) 100%); }
.story-hero .story-copy { position: relative; justify-content: flex-end; padding: 30px; }
.story-hero h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; max-width: 22ch; }
.story.story-hero p { color: rgba(255,255,255,.88); max-width: 60ch; -webkit-line-clamp: 3; }
.story-hero .byline { color: rgba(255,255,255,.8); margin-top: 0; }
.story-wide .story-link { flex-direction: row; }
.story-wide .story-image { flex: 0 0 46%; aspect-ratio: auto; min-height: 260px; }
.story-wide .story-copy { justify-content: center; padding: 26px 28px; }
.story-wide h2 { font-size: 1.55rem; }
.span-6.story .story-image { aspect-ratio: 2 / 1; }
.story-compact .story-image { aspect-ratio: 2 / 1; }
.story-compact h3 { font-size: 1.08rem; }
.story-compact p { -webkit-line-clamp: 2; font-size: .94rem; }

/* Rank, rubric row and utility tiles */
.rank-list { margin: 4px 0 0; padding: 0; list-style: none; counter-reset: rank; display: grid; gap: 4px; }
.rank-list li { counter-increment: rank; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--line); }
.rank-list li:first-child { border-top: 0; }
.rank-list li::before { content: counter(rank, decimal-leading-zero); font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.rank-list a { text-decoration: none; font-weight: 600; line-height: 1.3; }
.rank-list a:hover { text-decoration: underline; }
.rubric-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); }
.tile-rubric { background: var(--rub); color: var(--rub-ink); border-color: transparent; text-decoration: none; gap: 6px; padding: 20px; min-height: 150px; }
.rubric-icon { width: 34px; height: 34px; margin-bottom: auto; }
.rubric-name { font-weight: 760; font-size: 1.02rem; line-height: 1.2; letter-spacing: -.01em; }
.rubric-count { font-size: .84rem; opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .tile-rubric, .story { transition: transform .25s ease, box-shadow .25s ease; }
  .tile-rubric:hover, .story:hover { transform: translateY(-3px); }
}
.tile-wholesale { background: var(--tile-2); }
.tile-poll fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.tile-poll legend { display: grid; gap: 8px; padding: 0; margin-bottom: 6px; }
.legend-title { font-size: 1.35rem; font-weight: 760; letter-spacing: -.02em; line-height: 1.15; }
.tile-poll label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--tile-2); cursor: pointer; }
.tile-poll input { accent-color: var(--accent); }
.tile-poll form { display: grid; gap: 10px; }
.tile-poll button { justify-self: start; }
.tile small { color: var(--muted); font-size: .82rem; }
.tile-subscribe form, .contact-form { display: grid; gap: 10px; }
.tile-subscribe label, .contact-form label { display: grid; gap: 6px; font-size: .9rem; color: var(--muted); }
.tile-subscribe input, .contact-form input, .contact-form textarea {
  width: 100%; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--tile-2); color: var(--ink);
}
.tile-subscribe button { justify-self: start; }
[role=status]:empty { display: none; }
[role=status] { font-size: .9rem; color: var(--accent); }

/* Products */
.product-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: start; }
.product-image { border-radius: var(--radius-sm); overflow: hidden; background: var(--tile-2); }
.product-image img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-copy { display: grid; gap: 8px; }
.product-copy h3 { font-size: 1.02rem; letter-spacing: -.01em; }
.product-copy p { font-size: .86rem; color: var(--muted); }
.product-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.product-cta { padding: 8px 14px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 650; font-size: .86rem; }
.product-more { font-size: .86rem; color: var(--muted); }
.product-list { display: grid; gap: 16px; }
.product-list .product-card + .product-card { padding-top: 16px; border-top: 1px solid var(--line); }

/* Breadcrumbs */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 4px 0; font-size: .86rem; color: var(--muted); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Article */
.article-header { background: var(--rub); color: var(--ink); border-color: transparent; padding: 34px; gap: 16px; justify-content: center; }
.article-header .kicker { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--tile); color: var(--rub-ink); }
.article-header h1 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.05; letter-spacing: -.035em; }
.article-lead { font-size: 1.12rem; line-height: 1.55; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .88rem; color: var(--muted); }
.article-header .byline { color: color-mix(in srgb, var(--ink) 75%, transparent); }
.author-avatar { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--tile); color: var(--rub-ink, var(--accent)); font-weight: 800; }
.author-name { display: grid; line-height: 1.25; color: var(--ink); font-weight: 650; }
.author-name small { font-weight: 450; color: var(--muted); }
.article-figure { margin: 0; padding: 0; overflow: hidden; }
.article-figure img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.article-figure figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 8px 12px; border-radius: 12px; font-size: .82rem;
  background: rgba(16, 18, 17, .62); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.article-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--gap); margin-top: var(--gap); align-items: start; }
.article-body { padding: 40px clamp(22px, 4vw, 56px); gap: 0; }
.article-body section { max-width: 70ch; }
.article-body section + section, .article-body .sponsor-banner + section { margin-top: 34px; }
.article-body section h2 { font-size: 1.5rem; margin-bottom: 12px; }
.article-body section p { font-size: 1.08rem; line-height: 1.72; }
.sponsor-banner {
  display: grid; gap: 10px; margin: 34px 0 0; padding: 24px; border-radius: 20px; background: var(--rub); color: var(--ink); max-width: 70ch;
}
.sponsor-banner .kicker { color: var(--rub-ink); }
.sponsor-banner h2 { font-size: 1.2rem; }
blockquote { margin: 38px 0 0; padding: 26px 28px; border-radius: 20px; background: var(--tile-2); max-width: 70ch; }
blockquote p { font-size: 1.28rem; line-height: 1.45; font-weight: 620; letter-spacing: -.01em; }
blockquote p::before { content: "«"; color: var(--accent); }
blockquote p::after { content: "»"; color: var(--accent); }
blockquote cite { display: block; margin-top: 10px; font-style: normal; font-size: .86rem; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.tags span { padding: 6px 12px; border-radius: 999px; background: var(--tile-2); font-size: .86rem; color: var(--muted); }
.article-side { display: grid; gap: var(--gap); align-content: start; position: sticky; top: 140px; }
.article-toc ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.article-toc a { text-decoration: none; font-weight: 600; line-height: 1.3; }
.article-toc a:hover { text-decoration: underline; }
.article-toc li::marker { color: var(--accent); font-weight: 800; }
.article-source a { font-weight: 600; line-height: 1.4; word-break: break-word; }
.native-products { background: var(--tile-2); }
.share-tile { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.share-links { display: flex; flex-wrap: wrap; gap: 6px; }
.share-tile .chip, .footer-share .chip { background: var(--tile-2); color: var(--ink); }
.static-comments p { color: var(--muted); }

/* Rubric page */
.cat-header { background: var(--rub); color: var(--ink); border-color: transparent; padding: 32px; gap: 12px; }
.cat-header .rubric-icon { color: var(--rub-ink); width: 44px; height: 44px; margin: 0 0 6px; }
.cat-header .kicker { color: var(--rub-ink); }
.cat-header h1 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.035em; }
.cat-header p { max-width: 62ch; font-size: 1.04rem; }
.cat-count { justify-content: space-between; }
.cat-count b { font-size: 4.2rem; line-height: 1; letter-spacing: -.05em; color: var(--accent); }
.cat-count span:not(.kicker) { color: var(--muted); }
.cat-stories, .side-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.side-row > .tile-topics { grid-column: span 4; }
.side-row > .tile-products { grid-column: span 8; }
.side-row .product-list { grid-template-columns: 1fr 1fr; }
.side-row .product-list .product-card + .product-card { padding-top: 0; border-top: 0; }
.service-side { display: grid; gap: var(--gap); align-content: start; }

/* Service pages */
.service-page { padding: 36px clamp(22px, 4vw, 48px); gap: 14px; }
.service-page h1 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); letter-spacing: -.03em; }
.service-page h2 { font-size: 1.25rem; margin-top: 12px; }
.service-page p, .service-page li { max-width: 68ch; line-height: 1.65; }
.service-page ul { margin: 0; padding-left: 1.2em; }

/* Footer */
.site-footer { padding: 10px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.3fr 1.4fr 1.3fr; gap: var(--gap); }
.footer-brand p { color: var(--muted); font-size: .92rem; }
.footer-links { display: grid; gap: 6px; align-content: start; }
.footer-links a { text-decoration: none; font-weight: 600; }
.footer-links a:hover, .footer-partner a:hover { text-decoration: underline; }
.footer-partner a { font-weight: 650; text-decoration: none; line-height: 1.35; }
.copyright { grid-column: 1 / -1; padding: 4px 8px; color: var(--muted); }

/* Tablet */
@media (max-width: 63.99rem) {
  .bento-grid, .cat-stories, .side-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .span-4, .span-5, .span-6 { grid-column: span 3; }
  .span-7, .span-8 { grid-column: 1 / -1; }
  .rubric-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .side-row > .tile-topics, .side-row > .tile-products { grid-column: 1 / -1; }
  .story-hero { min-height: 460px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-side .article-toc { grid-column: 1 / -1; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 53.99rem) {
  .topbar-in { grid-template-columns: auto auto; }
  .search { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .header-actions { justify-self: end; }
  .menu-btn { display: inline-grid; }
  .js .nav { display: none; }
  .js .nav.is-open { display: flex; flex-wrap: wrap; }
}
/* Phone */
@media (max-width: 39.99rem) {
  :root { --radius: 22px; --gap: 10px; }
  .wrap { width: min(100% - 20px, 1240px); }
  .topbar-in { padding: 8px 8px 8px 14px; }
  .bento-grid, .cat-stories, .side-row { grid-template-columns: 1fr; }
  .span-4, .span-5, .span-6, .span-7, .span-8, .side-row > .tile-topics, .side-row > .tile-products { grid-column: 1 / -1; }
  .side-row .product-list { grid-template-columns: 1fr; }
  .rows-2 { grid-row: auto; }
  .rubric-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-rubric { min-height: 120px; padding: 16px; }
  .story-hero { min-height: 430px; }
  .story-hero .story-copy { padding: 22px; }
  .story-wide .story-link { flex-direction: column; }
  .story-wide .story-image { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  .tile { padding: 20px; }
  .story { padding: 0; }
  .article-header { padding: 24px 20px; }
  .article-figure { padding: 0; }
  .article-body { padding: 26px 20px; }
  .article-body section p { font-size: 1.04rem; }
  .article-side { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 84px minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .grid-heading { flex-direction: column; gap: 2px; }
  .brand { font-size: 1.06rem; }
  .icon-btn { min-width: 38px; height: 38px; padding: 0 10px; }
}
@media print {
  .topbar, .article-side, .site-footer, .share-tile, .static-comments { display: none; }
  body { background: #fff; }
  .tile { box-shadow: none; border: 0; }
}

:root:not([data-theme=dark]){--bg:#eef1f4;--accent:#2c5d8a;--intro:#1c2633}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#101211;--accent:#8fd1ad;--accent-ink:#0f1a14;--intro:#26332c}}
