:root {
    --tn-ink: #111312;
    --tn-muted: #797979;
    --tn-page: #f8f8f8;
    --tn-border: #dededb;
    --tn-radius: 7px;
    --tn-content-width: 1374px;
    --tn-section-gap: 30px;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body.tonalnost-redesign { margin: 0; background: var(--tn-page); color: var(--tn-ink); font-family: Arial, Helvetica, sans-serif; }
.site-main { margin-top: 0 !important; }
.site-main-spaced { padding-bottom: 48px; }
.container-xl { width: calc(100% - 10.7%); max-width: var(--tn-content-width); padding-right: 0; padding-left: 0; }
.skip-link { position: fixed; top: -70px; left: 16px; z-index: 1100; padding: 12px 18px; background: #fff; color: #111; }
.skip-link:focus { top: 8px; }

/* Global header */
.site-header { z-index: 1040; background: #fafaf9; border-bottom: 1px solid #ececea; }
.header-container { width: calc(100% - 7.8%); max-width: 1416px; margin: auto; }
.site-header .navbar { min-height: 60px; }
.site-header .navbar-brand { flex-shrink: 0; margin: 0; padding: 0; line-height: 1; color: #111; }
.site-header .logo-wordmark { display: block; font-size: 27px; font-weight: 800; letter-spacing: -1.2px; }
.site-header .navbar-brand small { display: block; margin-top: 3px; font-size: 6px; letter-spacing: 1.2px; text-align: center; color: #939393; }
.site-header .navbar-nav { gap: 27px; margin-left: 68px; }
.site-header .navbar .nav-link { color: #111; padding: 10px 0; white-space: nowrap; font-size: 14px; }
.site-header .navbar .nav-link:hover,
.site-header .navbar .nav-link.active { color: #111; text-decoration: underline; text-underline-offset: 4px; }
.search-field { display: flex; align-items: center; margin: 0; overflow: hidden; border-radius: 30px; }
.search-field input { flex: 1; width: 100%; min-width: 0; height: 100%; padding: 0 17px; border: 0; border-radius: inherit; outline: 0; background: transparent; }
.search-field input::placeholder { color: #999; opacity: 1; }
.search-field:focus-within { outline: 2px solid #376b54; outline-offset: 2px; }
.search-field button { display: grid; place-items: center; flex: 0 0 44px; height: 100%; padding: 0; border: 0; background: transparent; color: #101412; font-size: 19px; }
.header-search { width: 338px; height: 40px; margin-left: auto; background: #eeeeed; }
.header-search input { font-size: 12px; }
.header-icons { display: flex; gap: 25px; margin-left: 48px; font-size: 23px; }
.header-icons a { display: grid; place-items: center; width: 24px; height: 40px; color: #111; }
.site-header .navbar-toggler { padding: 8px; border: 0; box-shadow: none !important; }

/* Homepage */
.home-page .site-main a { color: inherit; text-decoration: none; }
.home-page .site-main img { display: block; max-width: 100%; }
.home-page .site-main h1,
.home-page .site-main h2,
.home-page .site-main h3,
.home-page .site-main p { margin: 0; }
.home-page .hero { position: relative; height: 402px; overflow: hidden; background: #c7c2b7; }
.home-page .hero-bg { position: absolute; inset: 0 13.8% 0 0; background: url('/images/home/hero-interior.png') left top / 96vw auto no-repeat; }
.home-page .hero-container { position: relative; height: 100%; }
.home-page .hero-content { position: absolute; top: 44px; left: 0; width: 700px; }
.home-page .hero h1 { margin: 0 0 14px; font-size: 50px; line-height: 1.04; font-weight: 700; letter-spacing: -1.6px; }
.home-page .hero-content > p { margin-bottom: 27px; font-size: 20px; line-height: 1.3; }
.home-page .hero-search { width: 700px; height: 49px; margin-bottom: 18px; background: #fff; }
.home-page .hero-search button { flex-basis: 57px; font-size: 24px; }
.home-page .hero-search input { padding-left: 2px; font-size: 15px; }
.home-page .hero-buttons { display: grid; grid-template-columns: 232px 223px 209px; gap: 18px; }
.home-page .btn-black,
.home-page .btn-white { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 14px; border-radius: 7px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.home-page .btn-black { background: #080909; border: 1px solid #080909; color: #fff !important; }
.home-page .btn-black:hover,
.home-page .btn-black:focus-visible { background: #2b302d; border-color: #2b302d; color: #fff; }
.home-page .btn-white { background: #fafafa; border: 1px solid #eeeeeb; color: #131615; }
.home-page .btn-white:hover { background: #e9ece8; border-color: #d5d9d3; }
.home-page .btn-white .bi { font-size: 22px; }
.home-page .hero-slogan { position: absolute; top: 64px; left: 89.3%; font-size: 15px; line-height: 1.5; }
.home-page .hero-slogan::after { content: ''; display: block; width: 1px; height: 133px; margin-top: 28px; background: #6b6b60; }
.home-page .section { padding-top: var(--tn-section-gap); }
.home-page .section-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 12px; }
.home-page .section-title h2 { margin-bottom: 3px; font-size: 25px; line-height: 1.16; font-weight: 700; letter-spacing: -.35px; }
.home-page .section-title p { color: var(--tn-muted); font-size: 15px; line-height: 1.4; }
.home-page .section-link { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; margin-top: 7px; font-size: 13px; }
.home-page .section-link:hover,
.home-page article h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.home-page .category { display: block; margin-bottom: 5px; color: #7d7d7d; font-size: 12px; line-height: 1.3; font-weight: 400; }
.home-page .article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--tn-muted); font-size: 14px; line-height: 1.4; }
.home-page .featured { padding-top: 17px; }
.home-page .featured .section-title { margin-bottom: 8px; }
.home-page .featured-grid { --bs-gutter-x: 30px; --bs-gutter-y: 0; }
.home-page .featured-lead-col { width: 61.4%; }
.home-page .featured-side-col { width: 38.6%; }
.home-page .featured-main { position: relative; height: 401px; overflow: hidden; border-radius: 6px 6px 0 0; }
.home-page .featured-image { width: 100%; height: 100%; object-fit: cover; }
.home-page .featured-text { position: absolute; left: 0; bottom: 0; width: 59.5%; padding: 12px 21px 17px; background: rgba(250,250,248,.94); }
.home-page .featured-text h3 { margin: 0 0 7px; font-size: 31px; line-height: 1.1; font-weight: 700; letter-spacing: -.3px; }
.home-page .featured-text p { margin-bottom: 7px; color: #4c4c4c; font-size: 16px; line-height: 1.3; }
.home-page .featured-list { display: grid; grid-template-rows: 99px 115px 125px; gap: 23px; }
.home-page .featured-small { display: grid; grid-template-columns: 36.9% minmax(0,1fr); gap: 20px; }
.home-page .small-image { width: 100%; height: 100%; object-fit: cover; border-radius: var(--tn-radius); }
.home-page .ral-comparison { background: linear-gradient(90deg,#404649 0 25%,#363d40 25% 50%,#485054 50% 75%,#3b4245 75%); }
.home-page .featured-small h3 { margin: 0 0 12px; font-size: 18px; line-height: 1.27; font-weight: 700; }
.home-page .featured-small .article-meta { font-size: 14px; gap: 9px; }
.home-page .find-color { padding-top: 29px; }
.home-page .color-heading { align-items: center; margin-bottom: 15px; }
.home-page .inline-search { width: 471px; height: 45px; border: 1px solid #d5d5d2; }
.home-page .inline-search input { font-size: 13px; }
.home-page .color-groups { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 12px; }
.home-page .color-card { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; height: 121px; padding: 15px 20px; border: 1px solid #00000006; border-radius: 7px; font-size: 14px; }
.home-page .color-card .bi { opacity: .75; }
.home-page .color-card:hover { box-shadow: 0 0 0 2px #1113; }
.home-page .color-white { color: #111; background: #e7e7e5; }
.home-page .color-white .bi { opacity: .25; }
.home-page .color-grey { color: #fff; background: #939491; }
.home-page .color-black { color: #fff; background: #111312; }
.home-page .color-red { color: #fff; background: #d72b22; }
.home-page .color-blue { color: #fff; background: #064a70; }
.home-page .color-green { color: #fff; background: #4b7958; }
.home-page .color-yellow { color: #111; background: #f7cc2e; }
.home-page .color-beige { color: #111; background: #dfccb0; }
.home-page .popular { padding-top: 30px; }
.home-page .popular .section-title { margin-bottom: 9px; }
.home-page .ral-grid { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 20px; }
.home-page .ral-item { display: flex; flex-direction: column; min-width: 0; }
.home-page .ral-swatch { width: 100%; height: 77px; margin-bottom: 9px; border: 1px solid #00000006; border-radius: 6px; }
.home-page .ral-item strong { font-size: 14px; line-height: 1.4; }
.home-page .ral-item > span:last-child { color: #565656; font-size: 13px; line-height: 1.4; }
.home-page .topics { padding-top: 31px; }
.home-page .topics .section-title { margin-bottom: 11px; }
.home-page .topics-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 20px; }
.home-page .topic-card { overflow: hidden; border-radius: 6px; background: #f3f3f1; }
.home-page .topic-image { width: 100%; aspect-ratio: 2.3; object-fit: cover; border-radius: 6px; }
.home-page .topic-image[src*='hero-interior'] { object-position: 75% center; }
.home-page .topic-content { padding: 12px 13px 14px; }
.home-page .topic-content h3 { margin-bottom: 5px; font-size: 17px; line-height: 1.2; font-weight: 700; }
.home-page .topic-content p { color: #555; font-size: 14px; line-height: 1.45; }
.home-page .topic-card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.home-page .products { padding-top: 27px; }
.home-page .products .section-title { margin-bottom: 9px; }
.home-page .product-grid { --bs-gutter-x: 24px; --bs-gutter-y: 20px; }
.home-page .product-card { display: grid; grid-template-columns: 40% minmax(0,1fr); gap: 12px; height: 216px; padding: 15px 17px; border: 1px solid #ededeb; border-radius: var(--tn-radius); background: #fff; }
.home-page .product-image { align-self: center; width: 100%; height: 184px; object-fit: contain; }
.home-page .product-content { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.home-page .product-content h3 { margin-bottom: 8px; font-size: 18px; line-height: 1.2; font-weight: 700; }
.home-page .product-label { padding: 3px 7px; border-radius: 3px; background: #faead8; color: #58412c; font-size: 14px; line-height: 1.3; white-space: nowrap; }
.home-page .product-content p { margin-top: 15px; color: #444; font-size: 14px; line-height: 1.45; }
.home-page .product-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; margin-top: auto; }
.home-page .product-footer > strong { font-size: 21px; line-height: 1.2; white-space: nowrap; }
.home-page .product-footer .btn { min-height: 32px; gap: 6px; padding: 0 12px; font-size: 12px; border-radius: 5px; font-weight: 400; }
.home-page .latest { padding-top: 13px; padding-bottom: 17px; }
.home-page .latest .section-title { margin-bottom: 9px; }
.home-page .latest-grid { --bs-gutter-x: 24px; --bs-gutter-y: 22px; }
.home-page .latest-image { width: 100%; height: 84px; margin-bottom: 9px; object-fit: cover; border-radius: 6px; }
.home-page .latest-image[src*='hero-interior'] { object-position: center 57%; }
.home-page .latest-card h3 { margin-bottom: 6px; font-size: 17px; line-height: 1.25; font-weight: 700; }
.home-page .latest-card .article-meta { font-size: 13px; gap: 9px; }

/* Global footer */
.site-footer { min-height: 77px; padding: 20px 0 16px; background: #171d1e; color: #fff; }
.footer-features { display: grid; grid-template-columns: 1.2fr 1fr 1.08fr 1.4fr auto; gap: 40px; align-items: center; }
.footer-feature { display: flex; gap: 15px; align-items: center; }
.footer-feature > .bi { font-size: 27px; line-height: 1; }
.footer-feature strong,
.footer-feature span { display: block; font-size: 12px; line-height: 1.4; white-space: nowrap; }
.footer-feature strong { font-weight: 500; }
.footer-feature span { color: #c8cac8; }
.footer-more { padding-left: 44px; border-left: 1px solid #c6c9c5; color: #ddd; font-size: 13px; line-height: 1.5; white-space: nowrap; text-decoration: none; }
.footer-more:hover { color: #fff; }

@media (min-width:1200px) and (max-width:1439.98px) {
    .site-header .navbar-nav { gap: 19px; margin-left: 40px; }
    .header-search { width: 255px; }
    .header-icons { margin-left: 27px; gap: 19px; }
    .site-header .navbar .nav-link { font-size: 13px; }
    .home-page .hero-slogan { font-size: 12px; }
    .home-page .featured-text { width: 65%; padding-inline: 17px; }
    .home-page .featured-text h3 { font-size: 26px; }
    .home-page .featured-text p { font-size: 14px; }
    .home-page .featured-small { gap: 15px; }
    .home-page .featured-small h3 { font-size: 16px; }
    .home-page .featured-small .article-meta { font-size: 12px; }
    .home-page .color-card { padding-inline: 14px; }
    .home-page .topic-content { padding-inline: 10px; }
    .home-page .topic-content h3 { font-size: 15px; }
    .home-page .topic-content p { font-size: 12px; }
    .home-page .product-card { grid-template-columns: 34% minmax(0,1fr); padding-inline: 12px; gap: 9px; }
    .home-page .product-content h3 { font-size: 17px; }
    .home-page .product-label,
    .home-page .product-content p { font-size: 12px; }
    .home-page .product-footer > strong { font-size: 18px; }
    .home-page .product-footer .btn { font-size: 11px; padding-inline: 9px; }
    .home-page .latest-card h3 { font-size: 15px; }
    .footer-features { gap: 22px; }
    .footer-feature { gap: 10px; }
    .footer-more { padding-left: 25px; }
}

@media (max-width:1199.98px) {
    .container-xl,
    .header-container { width: calc(100% - 48px); max-width: none; }
    .site-header .navbar { min-height: 64px; }
    .site-header .navbar-collapse { max-height: calc(100dvh - 64px); overflow-y: auto; padding-bottom: 16px; }
    .site-header .navbar-nav { gap: 0; margin: 12px 0; }
    .site-header .navbar .nav-link { padding: 10px 0; font-size: 16px; }
    .header-search { width: 100%; height: 44px; }
    .header-search input { font-size: 16px; }
    .header-icons { margin: 12px 0 0; gap: 16px; }
    .header-icons a { width: 44px; height: 44px; }
    .home-page .hero { height: 400px; }
    .home-page .hero-bg { right: 0; background-position: 58% center; background-size: cover; }
    .home-page .hero-content { width: 660px; }
    .home-page .hero h1 { font-size: 44px; }
    .home-page .hero-content > p { font-size: 18px; }
    .home-page .hero-search { width: 100%; }
    .home-page .hero-buttons { grid-template-columns: 1.1fr 1fr 1fr; gap: 12px; }
    .home-page .hero-slogan { display: none; }
    .home-page .featured-grid { --bs-gutter-x: 24px; }
    .home-page .featured-lead-col { width: 55%; }
    .home-page .featured-side-col { width: 45%; }
    .home-page .featured-main,
    .home-page .featured-list { height: 400px; }
    .home-page .featured-text { width: 100%; padding: 16px; }
    .home-page .featured-text h3 { font-size: 25px; }
    .home-page .featured-text p { font-size: 14px; }
    .home-page .featured-list { grid-template-rows: repeat(3,1fr); gap: 20px; }
    .home-page .featured-small { gap: 14px; grid-template-columns: 34% minmax(0,1fr); }
    .home-page .featured-small h3 { font-size: 16px; }
    .home-page .featured-small .article-meta { font-size: 12px; gap: 6px; }
    .home-page .color-heading { flex-wrap: wrap; gap: 12px; }
    .home-page .inline-search { width: 360px; }
    .home-page .color-groups,
    .home-page .ral-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
    .home-page .color-card { height: 110px; }
    .home-page .ral-swatch { height: auto; aspect-ratio: 2; }
    .home-page .topics-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
    .home-page .topic-image { aspect-ratio: 2; }
    .home-page .product-grid { --bs-gutter-x: 18px; }
    .home-page .product-card { height: 380px; grid-template-columns: 1fr; grid-template-rows: 160px 1fr; padding: 15px; }
    .home-page .product-image { height: 160px; }
    .home-page .product-label { white-space: normal; font-size: 12px; }
    .home-page .latest { padding-top: 28px; padding-bottom: 28px; }
    .home-page .latest-image { height: auto; aspect-ratio: 3.1; }
    .footer-features { grid-template-columns: repeat(2,1fr); gap: 22px; }
    .footer-feature strong,
    .footer-feature span { font-size: 13px; }
    .footer-more { grid-column: 1 / -1; padding-left: 14px; }
}

@media (max-width:767.98px) {
    html { scroll-padding-top: 76px; }
    .container-xl,
    .header-container { width: calc(100% - 32px); }
    .site-header .logo-wordmark { font-size: 25px; }
    .home-page .hero { height: auto; min-height: 480px; }
    .home-page .hero-bg { background-position: 65% center; }
    .home-page .hero-bg::after { content: ''; position: absolute; inset: 0; background: rgba(246,244,238,.85); }
    .home-page .hero-container { min-height: 480px; padding-block: 34px; }
    .home-page .hero-content { position: relative; top: auto; width: 100%; }
    .home-page .hero h1 { margin-bottom: 17px; font-size: clamp(31px,7.3vw,42px); line-height: 1.08; letter-spacing: -1px; }
    .home-page .hero-content > p { margin-bottom: 23px; max-width: 440px; font-size: 16px; line-height: 1.4; }
    .home-page .hero-content > p br { display: none; }
    .home-page .hero-search { height: 48px; margin-bottom: 14px; }
    .home-page .hero-search input { font-size: 14px; }
    .home-page .hero-buttons { grid-template-columns: 1fr 1fr; gap: 10px; }
    .home-page .hero-buttons .btn:first-child { grid-column: 1 / -1; }
    .home-page .hero-buttons .btn { padding-inline: 8px; gap: 7px; min-height: 48px; font-size: 12px; }
    .home-page .section { padding-top: 27px; }
    .home-page .section-title { flex-wrap: wrap; gap: 7px 16px; margin-bottom: 14px; }
    .home-page .section-title h2 { margin-bottom: 5px; font-size: 23px; }
    .home-page .section-title p { font-size: 14px; }
    .home-page .section-link { margin: 0; font-size: 13px; }
    .home-page .featured-grid { --bs-gutter-y: 20px; }
    .home-page .featured-lead-col,
    .home-page .featured-side-col { width: 100%; }
    .home-page .featured-main { height: auto; border-radius: var(--tn-radius); }
    .home-page .featured-image { height: auto; aspect-ratio: 1.85; }
    .home-page .featured-text { position: static; padding: 17px; background: #f0f0ed; }
    .home-page .featured-text h3 { font-size: 25px; line-height: 1.15; }
    .home-page .featured-list { height: auto; gap: 18px; grid-template-rows: auto; }
    .home-page .featured-small { grid-template-columns: 34% minmax(0,1fr); min-height: 108px; gap: 14px; }
    .home-page .small-image { min-height: 108px; }
    .home-page .featured-small h3 { margin-bottom: 9px; font-size: 16px; }
    .home-page .featured-small .category { font-size: 10px; }
    .home-page .inline-search { width: 100%; height: 45px; }
    .home-page .color-groups,
    .home-page .ral-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .home-page .color-card { height: 110px; padding: 14px 16px; }
    .home-page .ral-grid { row-gap: 20px; }
    .home-page .topics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
    .home-page .topic-image { aspect-ratio: 1.75; }
    .home-page .topic-content { padding: 11px; }
    .home-page .topic-content h3 { font-size: 16px; }
    .home-page .topic-content p { font-size: 13px; }
    .home-page .product-grid { --bs-gutter-y: 14px; }
    .home-page .product-card { grid-template-columns: 35% minmax(0,1fr); grid-template-rows: auto; gap: 12px; height: auto; min-height: 219px; padding: 16px 12px; }
    .home-page .product-image { height: 184px; }
    .home-page .product-content p { margin-bottom: 12px; font-size: 13px; }
    .home-page .product-footer { flex-wrap: wrap; justify-content: flex-start; gap: 10px; }
    .home-page .latest-grid { --bs-gutter-x: 16px; }
    .home-page .latest-image { aspect-ratio: 1.85; }
    .home-page .latest-card h3 { font-size: 16px; line-height: 1.3; }
    .home-page .latest-card .article-meta { font-size: 12px; gap: 6px; }
    .site-footer { padding-block: 24px; }
    .footer-features { gap: 24px 14px; }
    .footer-feature { align-items: flex-start; gap: 10px; }
    .footer-feature .bi { font-size: 24px; }
    .footer-feature strong,
    .footer-feature span { font-size: 12px; white-space: normal; }
    .footer-more { font-size: 12px; }
}

@media (max-width:374.98px) {
    .home-page .hero-buttons { grid-template-columns: 1fr; }
    .home-page .hero-container { min-height: 540px; }
    .home-page .topics-grid { grid-template-columns: 1fr; }
    .home-page .latest-grid > .col-6 { width: 100%; }
    .home-page .product-card { grid-template-columns: 30% minmax(0,1fr); }
    .footer-features { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion:reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
