/*
Theme Name: PACS — Wallman, Whale & Iron Wall
Theme URI: https://pacsofficial.com/
Author: Premium Asian Coating Systems
Description: Interactive website for Premium Asian Coating Systems and its brands Wallman, Whale and Iron Wall — liquid-paint hero, brand worlds, product range with printable technical data sheets, Colour Studio with photo matching and a colour assistant, paint calculator, painting guide, dealers and enquiries.
Version: 3.6.2
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wallman
*/

/* ================================================================
   Tokens
   ================================================================ */
:root {
	--paper: #F5F2ED;
	--paper-2: #ECE7DF;
	--paper-3: #E4DED4;
	--card: #FFFFFF;
	--ink: #121418;
	--ink-2: #2A2D33;
	--muted: #676B73;
	--line: #E2DCD2;
	--night: #0E1116;
	--night-2: #171B23;
	--line-dark: rgba(255, 255, 255, .14);
	--muted-dark: #A7ACB6;
	--accent: #B8541E;
	--accent-light: #F2C7A2;
	--wa: #1E9E55;
	--serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
	--sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--r: 4px;
	--r-lg: 8px;
	--header-h: 78px;
	--ease: cubic-bezier(.22, .8, .2, 1);
	--ease-in-out: cubic-bezier(.7, 0, .2, 1);
	--shadow: 0 1px 2px rgba(18, 20, 24, .04), 0 12px 32px rgba(18, 20, 24, .06);
	--shadow-lg: 0 2px 6px rgba(18, 20, 24, .05), 0 30px 70px rgba(18, 20, 24, .14);
}

/* ================================================================
   Base
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--paper); color: var(--ink); font-variant-numeric: lining-nums;
	font-family: var(--sans); font-size: 1.03rem; line-height: 1.65; font-weight: 400;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.1; }
p { margin: 0 0 1em; }
main { overflow-x: clip; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 820px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip-link:focus { top: 12px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

/* ================================================================
   Type
   ================================================================ */
.kicker {
	display: flex; align-items: center; gap: 14px; margin: 0 0 18px;
	font-size: .75rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
}
.kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.kicker-light { color: rgba(255, 255, 255, .72); }
.display {
	font-family: var(--serif); font-weight: 500; font-size: clamp(2.5rem, 5.2vw, 4.6rem);
	line-height: 1.02; letter-spacing: -.012em; color: var(--ink); max-width: 18ch;
}
.display em, .hero-title em { font-style: italic; color: var(--accent); }
.display-light { color: #fff; }
.display-light em { color: var(--accent-light); }
.section-lede { font-size: 1.09rem; color: var(--muted); max-width: 46ch; margin: 0; }
.fine-print { font-size: .84rem; color: var(--muted); margin: 14px 0 0; }

/* word-by-word reveal */
.wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wd > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--wi, 0) * 55ms); }
.is-split.is-in .wd > span, .is-split.is-in-now .wd > span { transform: none; }

/* ================================================================
   Buttons & links
   ================================================================ */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	min-height: 52px; padding: 0 1.6em; border-radius: 2px; border: 1px solid transparent;
	font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .01em; line-height: 1;
	text-decoration: none; white-space: nowrap; position: relative; overflow: hidden; isolation: isolate;
	transition: color .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { min-height: 42px; padding: 0 1.1em; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink::before { background: var(--accent); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light::before { background: var(--paper-2); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost::before { background: #fff; }
.btn-ghost:hover { color: var(--ink); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line::before { background: var(--ink); }
.btn-line:hover { color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa::before { background: #177F44; }
.btn:disabled { opacity: .4; pointer-events: none; }

/* ================================================================
   Header
   ================================================================ */
.site-header {
	position: sticky; top: 0; z-index: 100; height: var(--header-h); color: var(--ink);
	background: rgba(245, 242, 237, .9); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
	border-bottom: 1px solid transparent; transition: background-color .4s, color .4s, border-color .4s, transform .4s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.has-dark-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-dark-hero .site-header.is-scrolled { background: rgba(245, 242, 237, .92); color: var(--ink); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; color: inherit; flex: none; line-height: 1; }
.brand-word { font-family: var(--serif); font-weight: 600; font-size: 1.85rem; letter-spacing: .16em; }
.brand-tag { font-size: .6rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; opacity: .7; margin-top: 5px; }
.brand-img img, .custom-logo { max-height: 48px; width: auto; }
.main-nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.nav-list a { position: relative; display: block; padding: 10px 12px; text-decoration: none; font-weight: 600; font-size: .9rem; letter-spacing: .01em; }
.nav-list a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-list a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-header { border-color: currentColor; color: inherit; background: transparent; }
.btn-header::before { background: currentColor; }
.btn-header:hover { color: var(--paper); }
.has-dark-hero .site-header:not(.is-scrolled) .btn-header:hover { color: var(--ink); }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.icon-wa { background: var(--wa); }
.icon-btn svg { width: 20px; height: 20px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; background: transparent; position: relative; color: inherit; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { position: absolute; left: 50%; width: 16px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), background-color .2s; }
.nav-toggle-bars { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; transform: translateX(-50%); }
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateX(-50%) translateY(5px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateX(-50%) translateY(-5px) rotate(-45deg); }
@media (max-width: 1020px) {
	.nav-toggle { display: block; }
	.btn-header { display: none; }
	.main-nav {
		position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper); color: var(--ink); padding: 28px 20px;
		opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .4s var(--ease), visibility .3s;
	}
	.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open .site-header { background: var(--paper) !important; color: var(--ink) !important; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { font-family: var(--serif); font-size: 2.2rem; font-weight: 500; padding: 12px 4px; border-bottom: 1px solid var(--line); }
	.nav-list a::after { display: none; }
	body.nav-open { overflow: hidden; }
}

/* ================================================================
   Sections
   ================================================================ */
.section { padding: 120px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; margin-bottom: 56px; }
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (max-width: 760px) { .section { padding: 84px 0; } .section-head { margin-bottom: 36px; } }

.tabs { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.tab {
	position: relative; border: 0; background: none; padding: 10px 0; font-weight: 600; font-size: .95rem; color: var(--muted);
	transition: color .3s;
}
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); }
.tab.is-active::after { transform: scaleX(1); }
.tabs-lg .tab { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip {
	min-height: 38px; padding: 0 15px; border-radius: 2px; border: 1px solid var(--line); background: #fff;
	font-weight: 600; font-size: .84rem; color: var(--ink-2); transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
select, input[type="text"], input[type="email"], input[type="tel"], input[type="search"], textarea {
	width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 2px; border: 1px solid var(--line); background: #fff;
	font-size: 1rem; appearance: none; transition: border-color .25s, box-shadow .25s;
}
select { padding-right: 44px; cursor: pointer; }
textarea { min-height: 120px; resize: vertical; }
select:focus, input:focus, textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(18, 20, 24, .06); }
.select-sm select { min-height: 42px; font-size: .9rem; font-weight: 600; min-width: 190px; }
.field label, .field-label { display: block; font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 9px; color: var(--ink-2); }

/* ================================================================
   Hero — liquid paint
   ================================================================ */
.hero {
	position: relative; min-height: 100vh; min-height: 100svh; max-height: 1100px;
	display: flex; flex-direction: column; justify-content: center;
	padding: calc(var(--header-h) + 24px) 0 150px; background: #0E1116; color: #fff; overflow: hidden; isolation: isolate;
}
.liquid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; background: radial-gradient(80% 90% at 70% 40%, #B8431E 0%, #5A1E24 45%, #1A0E16 100%); cursor: crosshair; }
.hero-shade {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(8, 10, 14, .78) 0%, rgba(8, 10, 14, .5) 36%, rgba(8, 10, 14, .05) 62%, rgba(8, 10, 14, 0) 100%),
		linear-gradient(0deg, rgba(8, 10, 14, .65) 0%, rgba(8, 10, 14, 0) 26%),
		linear-gradient(180deg, rgba(8, 10, 14, .45) 0%, rgba(8, 10, 14, 0) 18%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; pointer-events: none; }
.hero-grid a, .hero-grid button { pointer-events: auto; }
.hero-title { font-family: var(--serif); font-weight: 500; font-size: clamp(3.2rem, 6.8vw, 6.6rem); line-height: .96; letter-spacing: -.02em; margin: 0 0 28px; max-width: 13ch; }
.hero-title em { color: var(--accent-light); }
.hero-text { font-size: clamp(1.05rem, 1.35vw, 1.22rem); color: rgba(255, 255, 255, .8); max-width: 38ch; margin: 0 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* Tins stand together as one overlapping group at every screen size. */
.hero-tins { position: relative; height: min(64vh, 580px); display: flex; align-items: flex-end; justify-content: center; }
.tin { position: relative; flex: none; min-width: 0; width: auto; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 34px 38px rgba(0, 0, 0, .5)); will-change: transform; transition: transform .9s var(--ease); }
.tin-0 { order: 0; height: 54%; max-width: 44%; bottom: 8%; margin-right: -8%; z-index: 1; }
.tin-1 { order: 1; height: 80%; max-width: 58%; z-index: 2; }
.tin-2 { order: 2; height: 47%; max-width: 42%; bottom: -1%; margin-left: -9%; z-index: 3; }
.js .tin { opacity: 0; translate: 0 60px; transition: opacity 1.2s var(--ease), translate 1.2s var(--ease), transform .9s var(--ease); }
.js .hero.is-ready .tin { opacity: 1; translate: 0 0; }
.js .hero.is-ready .tin-0 { transition-delay: .35s, .35s, 0s; }
.js .hero.is-ready .tin-1 { transition-delay: .15s, .15s, 0s; }
.js .hero.is-ready .tin-2 { transition-delay: .55s, .55s, 0s; }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 34px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.moods { display: flex; flex-wrap: wrap; gap: 8px; }
.mood {
	display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .22); background: rgba(10, 12, 16, .35); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	font-size: .82rem; font-weight: 600; transition: background-color .35s, color .35s, border-color .35s;
}
.mood:hover { border-color: rgba(255, 255, 255, .6); }
.mood.is-active { background: #fff; color: var(--ink); border-color: #fff; }
.mood-dots { display: flex; }
.mood-dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); margin-left: -4px; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .9); }
.mood-dots i:first-child { margin-left: 0; }
.hero-hint { margin: 0; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); display: flex; align-items: center; gap: 10px; }
.hero-hint::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); box-shadow: inset 0 0 0 5px rgba(14, 17, 22, .6), inset 0 0 0 11px rgba(255, 255, 255, .7); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 50% { transform: scale(.82); opacity: .6; } }
.hint-touch { display: none; }
@media (hover: none) { .hint-fine { display: none; } .hint-touch { display: inline; } }
@media (max-width: 1020px) {
	.hero { padding-bottom: 190px; }
	.hero-grid { grid-template-columns: 1fr; }
	.hero-tins { height: 300px; max-width: 460px; width: 100%; margin: 0 auto; }
	.hero-foot { flex-direction: column; align-items: flex-start; bottom: 24px; }
	.hero-shade { background: linear-gradient(180deg, rgba(8, 10, 14, .55) 0%, rgba(8, 10, 14, .3) 45%, rgba(8, 10, 14, .7) 100%); }
}
@media (max-width: 640px) {
	.hero { padding-top: calc(var(--header-h) + 12px); }
	.hero-tins { height: 240px; width: 92%; }
	.moods { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 4px; scrollbar-width: none; }
	.mood { flex: none; }
	.hero-hint { display: none; }
}

/* ================================================================
   Brand worlds
   ================================================================ */
.worlds { padding: 120px 0 0; background: var(--paper); }
.worlds-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-bottom: 44px; }
.world-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.world-tab {
	position: relative; height: 76px; padding: 0 22px; border-radius: var(--r); border: 1px solid var(--line); background: #fff;
	display: grid; place-items: center; transition: border-color .35s, box-shadow .35s, transform .35s var(--ease);
}
.world-tab::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; background: var(--wc); transform: scaleX(0); transition: transform .5s var(--ease); }
.world-tab:hover { transform: translateY(-2px); }
.world-tab.is-active { border-color: var(--ink); box-shadow: var(--shadow); }
.world-tab.is-active::after { transform: scaleX(1); }
.world-tab-logo { height: 44px; width: auto; max-width: 150px; }

.worlds-stage { display: grid; position: relative; }
.world {
	grid-area: 1 / 1; position: relative; overflow: hidden; color: var(--wink); min-height: 640px; padding: 90px 0 80px;
	background: radial-gradient(90% 120% at 85% 30%, var(--w2) 0%, var(--w1) 62%);
	clip-path: circle(0% at var(--x, 50%) var(--y, 0%)); visibility: hidden; z-index: 1;
	transition: clip-path 1.15s var(--ease-in-out), visibility 0s linear 1.15s;
}
.world.is-active { clip-path: circle(160% at var(--x, 50%) var(--y, 0%)); visibility: visible; z-index: 3; transition: clip-path 1.15s var(--ease-in-out), visibility 0s; }
.world.is-leaving { clip-path: circle(160% at 50% 50%); visibility: visible; z-index: 2; transition: none; }
.world-deco { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.world-wallman .deco-draw path { stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.2s var(--ease) .3s; }
.world-wallman.is-active .deco-draw path { stroke-dashoffset: 0; }
.world-wallman .deco-draw path:nth-child(2) { transition-delay: .45s; }
.world-wallman .deco-draw path:nth-child(3) { transition-delay: .6s; }
.world-whale .deco-waves { opacity: .55; }
.world-whale .wave { animation: wave 14s linear infinite; }
.world-whale .wave-2 { animation-duration: 20s; animation-direction: reverse; }
.world-whale .wave-3 { animation-duration: 11s; }
@keyframes wave { to { transform: translateX(-1200px); } }
.world-whale .deco-drops { animation: drops 5s ease-in-out infinite; }
@keyframes drops { 50% { transform: translateY(-10px); } }
.world-ironwall .deco-shield { transform-origin: 960px 340px; animation: shield 6s ease-in-out infinite; }
@keyframes shield { 50% { transform: scale(1.04); } }
.world-grid { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: center; }
.world-logo { height: 72px; margin-bottom: 30px; }
.world-logo-img { height: 100%; width: auto; }
.world-tag { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.02; font-weight: 500; font-style: italic; margin: 0 0 18px; }
.world-about { font-size: 1.06rem; opacity: .82; max-width: 42ch; margin: 0 0 30px; }
.world-stats { list-style: none; margin: 0 0 34px; padding: 0; display: flex; gap: 40px; }
.world-stats b { display: block; font-family: var(--serif); font-size: 3rem; line-height: 1; font-weight: 500; font-variant-numeric: lining-nums; }
.world-stats span { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.world-cta { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; padding-bottom: 6px; border-bottom: 1.5px solid currentColor; }
.world-cta svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.world-cta:hover svg { transform: translateX(5px); }
.world-shelf {
	display: flex; gap: 8px; align-items: flex-end; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 16px; scrollbar-width: thin;
	border-bottom: 1px solid color-mix(in srgb, var(--wink) 22%, transparent);
	mask-image: linear-gradient(90deg, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
}
.world-shelf.is-few { justify-content: center; mask-image: none; -webkit-mask-image: none; overflow: visible; }
.shelf-item {
	flex: 0 0 172px; scroll-snap-align: start; text-decoration: none; display: grid; justify-items: center; text-align: center; gap: 4px;
	opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease);
	transition-delay: calc(var(--i) * 70ms + .3s);
}
.world.is-active .shelf-item { opacity: 1; transform: none; }
.shelf-img { height: 230px; width: 100%; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 12px; }
.shelf-img img { height: 100%; width: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .35)); transition: transform .6s var(--ease); }
.shelf-item:hover .shelf-img img { transform: translateY(-12px) rotate(-2deg); }
.shelf-name { font-weight: 700; font-size: .92rem; line-height: 1.25; }
.shelf-finish { font-size: .78rem; opacity: .7; }
.world-shelf.is-few .shelf-item { flex-basis: 300px; }
.world-shelf.is-few .shelf-img { height: 380px; }
.world-ironwall .shelf-img img { filter: drop-shadow(0 22px 24px rgba(80, 40, 0, .35)); }
@media (max-width: 960px) {
	.world { padding: 64px 0 56px; min-height: 0; }
	.world-grid { grid-template-columns: 1fr; gap: 36px; }
	.world-logo { height: 56px; }
	.world-shelf.is-few .shelf-img { height: 280px; }
}
@media (max-width: 640px) {
	.worlds { padding-top: 84px; }
	.world-tab { height: 62px; padding: 0 14px; }
	.world-tab-logo { height: 34px; max-width: 104px; }
	.shelf-item { flex-basis: 140px; }
	.shelf-img { height: 180px; }
}

/* ================================================================
   Products
   ================================================================ */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.product-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card {
	position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
	overflow: hidden; transition: border-color .4s, box-shadow .5s var(--ease), transform .5s var(--ease);
}
.product-card.is-hidden { display: none; }
.product-card.is-entering { animation: cardIn .6s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(20px); } }
.product-card:hover { border-color: #CFC7BA; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-link { position: absolute; inset: 0; z-index: 3; }
.product-photo {
	position: relative; height: 290px; overflow: hidden;
	background:
		radial-gradient(55% 45% at 50% 70%, color-mix(in srgb, var(--glow) 22%, transparent), transparent 72%),
		linear-gradient(180deg, #F7F4EF 0%, #ECE6DC 100%);
}
.product-photo::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 16px; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(40, 30, 20, .28), transparent); }
.product-photo img, .product-photo .photo-empty { position: absolute; inset: 26px 22px 22px; margin: auto; }
.product-photo img {
	width: calc(100% - 44px); height: calc(100% - 48px); object-fit: contain; z-index: 1;
	filter: drop-shadow(0 18px 18px rgba(30, 24, 18, .2)); transition: transform .8s var(--ease);
}
.product-card:hover .product-photo img { transform: translateY(-8px) scale(1.035); }
.photo-empty { display: grid; place-items: center; width: max-content; height: max-content; font-size: .85rem; font-weight: 600; color: var(--muted); border: 1px dashed #C9C0B2; padding: 18px 22px; }
.product-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product-brand { font-size: .7rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.product-name { font-family: var(--serif); font-size: 1.62rem; font-weight: 600; line-height: 1.08; margin-bottom: 6px; }
.product-finish { color: var(--muted); font-size: .88rem; margin: 0 0 18px; }
.product-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.product-shades { display: flex; align-items: center; gap: 3px; }
.product-shades i { width: 12px; height: 12px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.product-shades span { margin-left: 8px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.product-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .82rem; letter-spacing: .04em; }
.product-more svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.product-card:hover .product-more svg { transform: translateX(4px); }
.grid-empty { text-align: center; color: var(--muted); padding: 40px 0; }
@media (max-width: 1140px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .product-grid, .product-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .product-photo { height: 220px; } .product-name { font-size: 1.35rem; } }
@media (max-width: 460px) { .product-body { padding: 16px; } .product-photo { height: 180px; } .product-foot { flex-direction: column; align-items: flex-start; } .product-name { font-size: 1.2rem; } }

/* ================================================================
   Colour Studio
   ================================================================ */
.studio { background: var(--paper-2); }
.studio-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.studio-tab { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 11px 16px; border-radius: 2px; font-weight: 700; font-size: .86rem; color: var(--ink-2); transition: background-color .3s, color .3s; }
.studio-tab svg { width: 18px; height: 18px; }
.studio-tab:hover { background: var(--paper); }
.studio-tab.is-active { background: var(--ink); color: #fff; }
.studio-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 40px; align-items: start; }
.studio-stage { position: sticky; top: calc(var(--header-h) + 20px); }
.scene { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #d9d2c5; box-shadow: var(--shadow-lg); }
.scene-svg { display: none; width: 100%; height: auto; }
.scene-svg.is-active { display: block; animation: fadeIn .6s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } }
.scene .wall-old { fill: var(--wall-old); }
.scene .wall-new { fill: var(--wall-new); }
.scene .roller { opacity: 0; transition: opacity .2s; }
.scene.is-rolling .roller { opacity: 1; }
.scene .roller-sleeve { fill: var(--wall-new); stroke: rgba(0, 0, 0, .22); stroke-width: 1.5; }
.scene-toggle { position: absolute; top: 14px; left: 14px; display: flex; padding: 4px; gap: 2px; background: rgba(18, 20, 24, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 3px; }
.scene-toggle button { border: 0; background: transparent; color: #fff; font-weight: 700; font-size: .8rem; padding: 8px 14px; border-radius: 2px; }
.scene-toggle button.is-active { background: #fff; color: var(--ink); }
.colour-bar { display: flex; align-items: center; gap: 18px; margin-top: 16px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.cc-chip { width: 58px; height: 58px; background: var(--c); flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); transition: background-color .5s; }
.cc-text { flex: 1; min-width: 0; }
.cc-name { font-family: var(--serif); font-weight: 600; font-size: 1.9rem; margin: 0; line-height: 1; }
.cc-meta { margin: 6px 0 0; color: var(--muted); font-size: .86rem; }
.studio-panels { min-width: 0; }
.studio-panel { animation: fadeIn .5s var(--ease); }
.swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px 10px; }
.swatch { border: 0; background: none; padding: 0; text-align: left; display: grid; gap: 7px; }
.swatch-chip { display: block; aspect-ratio: 1 / .82; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .07); transition: transform .35s var(--ease), box-shadow .35s; }
.swatch:hover .swatch-chip { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .07), 0 10px 18px rgba(0, 0, 0, .12); }
.swatch.is-selected .swatch-chip { box-shadow: 0 0 0 2px var(--paper-2), 0 0 0 3.5px var(--ink); }
.swatch-name { font-size: .78rem; font-weight: 600; line-height: 1.2; color: var(--ink-2); }
.swatch.is-hidden { display: none; }
.palette { margin-top: 26px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.palette-title { font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 12px; display: flex; justify-content: space-between; }
.palette-title span { color: var(--muted); }
.palette-slots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.palette .btn { margin-top: 14px; }
.slot { height: 64px; border: 1px dashed #CFC6B8; position: relative; overflow: hidden; }
.slot.is-filled { border: 0; background: var(--c); animation: pop .45s var(--ease); }
@keyframes pop { from { transform: scale(.7); opacity: 0; } }
.slot-name { position: absolute; left: 8px; bottom: 6px; right: 24px; font-size: .7rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot-x { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .35); color: #fff; font-size: 13px; line-height: 1; }

/* photo match */
.drop {
	position: relative; display: grid; justify-items: center; text-align: center; gap: 8px; padding: 38px 26px; cursor: pointer; overflow: hidden;
	border: 1.5px dashed #BDB3A4; border-radius: var(--r-lg); background: #fff; transition: border-color .3s, background-color .3s;
}
.drop:hover, .drop.is-over { border-color: var(--ink); background: #FBFAF7; }
.drop strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1.1; }
.drop > span:not(.drop-ico):not(.scan-line) { color: var(--muted); font-size: .92rem; max-width: 36ch; }
.drop-ico { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); margin-bottom: 4px; }
.drop-ico svg { width: 26px; height: 26px; }
.drop.has-image { padding: 0; border-style: solid; border-color: var(--line); }
.drop.has-image > :not(.drop-preview):not(.scan-line) { display: none; }
.drop-preview { width: 100%; max-height: 300px; object-fit: cover; }
.scan-line { position: absolute; left: 0; right: 0; top: 0; height: 60px; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .7), transparent); opacity: 0; pointer-events: none; }
.drop.is-scanning .scan-line { opacity: 1; animation: scan 1.1s var(--ease-in-out) 2; }
@keyframes scan { from { transform: translateY(-60px); } to { transform: translateY(320px); } }
.match-results { display: grid; gap: 10px; margin-top: 16px; }
.match-row { display: grid; grid-template-columns: 44px 18px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); animation: rowIn .6s var(--ease) both; animation-delay: calc(var(--i) * 90ms); }
@keyframes rowIn { from { opacity: 0; transform: translateX(-16px); } }
.match-src { width: 44px; height: 44px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.match-arrow { color: var(--muted); }
.match-arrow svg { width: 16px; height: 16px; }
.match-to { display: flex; align-items: center; gap: 12px; min-width: 0; }
.match-to i { width: 44px; height: 44px; flex: none; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.match-to b { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; line-height: 1.1; }
.match-to small { color: var(--muted); font-size: .76rem; font-weight: 600; }
.match-bar { display: block; width: 90px; height: 3px; background: var(--paper-3); margin-top: 5px; }
.match-bar span { display: block; height: 100%; background: var(--ink); width: var(--m); }

/* colour assistant */
.assist { display: grid; gap: 20px; }
.assist-q { display: grid; gap: 10px; }
.assist-label { font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; margin: 0; color: var(--ink-2); }
.chips-light { margin: 0; }
#assist-go { justify-self: start; }
#assist-go svg { width: 18px; height: 18px; }
.assist-out:empty { display: none; }
.assist-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; animation: rowIn .6s var(--ease); }
.assist-thinking { display: flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 600; font-size: .9rem; }
.assist-thinking i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: think 1s ease-in-out infinite; }
.assist-thinking i:nth-child(2) { animation-delay: .15s; }
.assist-thinking i:nth-child(3) { animation-delay: .3s; }
@keyframes think { 50% { transform: translateY(-6px); opacity: .3; } }
.assist-title { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; line-height: 1.1; margin: 0 0 16px; }
.assist-swatches { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.assist-sw { border: 0; padding: 0; background: none; text-align: left; display: grid; gap: 6px; }
.assist-sw i { display: block; height: 86px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .07); transition: transform .35s var(--ease); }
.assist-sw:hover i { transform: translateY(-3px); }
.assist-sw b { font-size: .86rem; line-height: 1.2; }
.assist-sw small { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.assist-why { color: var(--ink-2); font-size: .95rem; margin: 0 0 16px; }
.assist-product { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--paper); border-radius: var(--r); margin-bottom: 16px; text-decoration: none; }
.assist-product img { width: 48px; height: 48px; object-fit: contain; }
.assist-product span { font-size: .86rem; }
.assist-product b { display: block; font-size: .95rem; }
.assist-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 1020px) { .studio-grid { grid-template-columns: 1fr; } .studio-stage { position: static; } }
@media (max-width: 520px) {
	.swatches { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.studio-tabs { width: 100%; }
	.studio-tab { flex: 1; justify-content: center; padding: 10px 8px; font-size: .78rem; }
	.studio-tab svg { display: none; }
	.cc-name { font-size: 1.5rem; }
	.match-row { grid-template-columns: 36px 1fr auto; }
	.match-arrow { display: none; }
	.match-src { width: 36px; height: 36px; }
}

/* ================================================================
   Calculator
   ================================================================ */
.calc { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 22px; }
.calc-controls, .calc-output { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.calc-controls { padding: 34px; display: flex; flex-direction: column; gap: 30px; }
.slider-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.slider-top label { font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.slider-top output { font-family: var(--serif); font-weight: 600; font-size: 1.8rem; line-height: 1; }
input[type="range"] {
	-webkit-appearance: none; appearance: none; width: 100%; height: 2px; outline-offset: 8px; cursor: pointer;
	background: linear-gradient(90deg, var(--ink) 0 var(--fill, 50%), var(--paper-3) var(--fill, 50%) 100%);
}
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 5px solid #fff; box-shadow: 0 0 0 1px var(--ink), 0 4px 10px rgba(0, 0, 0, .15); transition: transform .2s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 4px solid #fff; box-shadow: 0 0 0 1px var(--ink); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 2px; }
.seg label { margin: 0; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: grid; place-items: center; min-width: 64px; height: 46px; font-weight: 700; cursor: pointer; transition: background-color .25s, color .25s; }
.seg label + label span { border-left: 1px solid var(--line); }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.calc-output { display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.iso-wrap { background: linear-gradient(180deg, #F8F6F2, #EEE9E1); padding: 20px 20px 0; }
#iso { width: 100%; height: auto; }
.calc-result { padding: 26px 32px 32px; }
.result-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 12px; }
.result-label { font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.result-big { font-family: var(--sans); font-weight: 700; font-size: clamp(3.2rem, 6vw, 4.6rem); line-height: 1; margin: 0; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.result-big small { font-size: 1rem; font-weight: 700; letter-spacing: 0; color: var(--muted); }
.shelf { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.shelf li { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; background: var(--paper); border-radius: 2px; font-weight: 700; animation: pop .45s var(--ease) both; }
.shelf .tin-ico { position: relative; width: 26px; background: linear-gradient(90deg, #A9ADB4, #EEF0F2 38%, #C4C8CE 70%, #9EA3AA); border-radius: 2px 2px 4px 4px; flex: none; }
.shelf .tin-ico::before { content: ""; position: absolute; left: 0; right: 0; top: 32%; bottom: 20%; background: var(--wall, #B8541E); }
.shelf .tin-drum { height: 38px; width: 32px; }
.shelf .tin-gallon { height: 28px; width: 24px; }
.shelf .tin-quarter { height: 19px; width: 17px; }
.shelf small { display: block; font-weight: 600; font-size: .74rem; color: var(--muted); }
.result-sub { color: var(--muted); font-size: .9rem; margin: 0 0 20px; }
.calc-note { text-align: center; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc-controls { padding: 24px; } .calc-result { padding: 22px; } }

/* ================================================================
   Painting guide
   ================================================================ */
.guide { background: #fff; }
.guide .tabs { margin-bottom: 44px; }
.guide-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.stack-stage { position: relative; height: 440px; display: grid; place-items: center; perspective: 1200px; background: radial-gradient(60% 55% at 50% 60%, var(--paper), #fff 75%); }
.stack { position: relative; width: 250px; height: 250px; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-38deg); }
.plate { position: absolute; inset: 0; background: var(--c); transform: translateZ(calc(var(--i) * 34px)); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), -10px 12px 24px rgba(18, 20, 24, .16); animation: drop .8s var(--ease) both; animation-delay: calc(var(--i) * 130ms); transition: transform .45s var(--ease); }
.plate-base { background-image: repeating-linear-gradient(45deg, rgba(0, 0, 0, .05) 0 6px, transparent 6px 12px); }
.plate.is-lift { transform: translateZ(calc(var(--i) * 34px + 34px)); }
@keyframes drop { from { opacity: 0; transform: translateZ(calc(var(--i) * 34px + 240px)); } }
.guide-intro { font-family: var(--serif); font-size: 1.7rem; line-height: 1.25; color: var(--ink); margin-bottom: 28px; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: flex; align-items: center; gap: 18px; padding: 18px 4px; border-bottom: 1px solid var(--line); transition: background-color .3s, padding .4s var(--ease); }
.steps li:hover { background: var(--paper); padding-left: 14px; }
.step-no { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--c); min-width: 36px; filter: saturate(1.2) brightness(.85); }
.step-img { width: 54px; height: 54px; object-fit: contain; flex: none; }
.step-text { flex: 1; min-width: 0; }
.step-text strong { display: block; font-size: 1.02rem; }
.step-text span { color: var(--muted); font-size: .92rem; }
.step-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .82rem; text-decoration: none; white-space: nowrap; }
.step-link svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .guide-grid { grid-template-columns: 1fr; gap: 24px; } .stack-stage { height: 280px; } .stack { width: 170px; height: 170px; } .plate { transform: translateZ(calc(var(--i) * 24px)); } .step-img { display: none; } .tabs-lg .tab { font-size: 1.2rem; } }

/* ================================================================
   About
   ================================================================ */
.about { padding: 130px 0 110px; background: var(--night); color: #fff; overflow: hidden; }
.about .section-lede { color: var(--muted-dark); margin-top: 22px; }
.paint-word { position: relative; text-align: center; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(4.4rem, 16vw, 15rem); line-height: .9; letter-spacing: -.02em; margin-bottom: 70px; white-space: nowrap; }
.pw-outline { display: block; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .22); }
.pw-fill { position: absolute; inset: 0; display: block; background: linear-gradient(90deg, #E8611A 0%, #F3C629 50%, #A6CE38 100%); -webkit-background-clip: text; background-clip: text; color: transparent; clip-path: inset(0 calc(100% - var(--p, 0) * 100%) 0 0); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 50px; align-items: center; margin-bottom: 70px; }
.about-grid:has(.about-photo) { grid-template-columns: 1fr 1fr; }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.facts li { padding-top: 22px; border-top: 1px solid var(--line-dark); }
.facts b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 4.4vw, 3.8rem); line-height: 1; margin-bottom: 12px; }
.facts span { color: var(--muted-dark); font-size: .95rem; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } .about-grid:has(.about-photo) { grid-template-columns: 1fr; } }

/* inspiration */
.inspire-grid { display: grid; gap: 16px; grid-template-columns: 1.4fr 1fr; grid-auto-rows: 280px; }
.inspire-grid figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--r); }
.inspire-grid figure:first-child { grid-row: span 2; }
.inspire-1 { grid-template-columns: 1fr; grid-auto-rows: 520px; }
.inspire-2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 460px; }
.inspire-2 figure:first-child { grid-row: auto; }
.inspire-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.inspire-grid figure:hover img { transform: scale(1.04); }
.inspire-grid figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(255, 255, 255, .92); padding: 8px 14px; font-weight: 700; font-size: .85rem; }
@media (max-width: 760px) { .inspire-grid, .inspire-2 { grid-template-columns: 1fr; grid-auto-rows: 280px; } .inspire-grid figure:first-child { grid-row: auto; } }

/* ================================================================
   Dealers & contact
   ================================================================ */
.dealer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dealer-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; display: flex; flex-direction: column; }
.dealer-city { font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.dealer-name { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; margin-bottom: 4px; }
.dealer-area { font-weight: 700; margin: 0 0 8px; }
.dealer-address { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.dealer-phone { margin: -12px 0 20px; font-weight: 700; font-size: .98rem; }
.dealer-phone a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; letter-spacing: .02em; }
.dealer-phone a:hover { color: var(--accent); }
.dealer-phone svg { width: 16px; height: 16px; color: var(--accent); }
.dealer-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.dealer-actions svg { width: 16px; height: 16px; }
.dealer-join { background: var(--night); border-color: var(--night); color: #fff; }
.dealer-join p { color: var(--muted-dark); }
.dealer-join .dealer-city { color: var(--accent-light); }
.dealer-join .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 960px) { .dealer-grid { grid-template-columns: 1fr; } }
.dealer-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; margin: -24px 0 32px; }
.dealer-search { position: relative; flex: 1 1 320px; max-width: 460px; }
.dealer-search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.dealer-search input { padding-left: 46px; }
.dealer-card[hidden] { display: none; }
.dealer-empty { grid-column: 1 / -1; margin: 0; }

.contact { background: var(--night); color: #fff; }
.contact .section-lede { color: var(--muted-dark); margin-top: 22px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 70px; align-items: start; }
.contact-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.05rem; }
.contact-list svg { width: 22px; height: 22px; flex: none; color: var(--accent-light); margin-top: 3px; }
.contact-list a { text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.admin-note { margin-top: 26px; padding: 14px 16px; background: rgba(184, 84, 30, .18); color: #FFD9C4; font-size: .92rem; }
.contact-card { background: var(--card); color: var(--ink); border-radius: var(--r); padding: 36px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-full { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { padding: 14px 16px; font-weight: 600; margin-bottom: 18px; }
.form-note-ok { background: #E7F4EC; color: #145C31; }
.form-note-error { background: #FBEAE8; color: #8A1C12; }
.form-error { color: #B3261E; font-weight: 600; margin: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } .contact-card { padding: 24px; } }
@media (max-width: 520px) { .contact-form { grid-template-columns: 1fr; } }

/* ================================================================
   Footer
   ================================================================ */
.site-footer { background: #0A0C10; color: #D5D9E0; padding: 88px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { color: var(--muted-dark); margin-top: 22px; max-width: 36ch; font-size: .95rem; }
.footer-logos { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin-top: 24px; }
.footer-logos img { height: 36px; width: auto; }
.footer-title { font-family: var(--sans); font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-links a { text-decoration: none; color: #fff; }
.footer-links a:hover { color: var(--accent-light); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); color: #fff; }
.socials a:hover { background: #fff; color: var(--ink); }
.socials svg { width: 18px; height: 18px; }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--line-dark); font-size: .84rem; color: var(--muted-dark); }
.footer-base p { margin: 0; }
.footer-swatches { display: flex; gap: 0; }
.footer-swatches i { width: 36px; height: 4px; background: var(--c); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(30, 158, 85, .4); transition: transform .35s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ================================================================
   Product page
   ================================================================ */
.pdp { --tdc-line: var(--line); --tdc-muted: var(--muted); --tdc-ink: var(--ink); }
.pdp-hero { padding: 36px 0 80px; background: radial-gradient(70% 90% at 25% 40%, color-mix(in srgb, var(--acc) 14%, transparent), transparent 70%), var(--paper); }
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); margin-bottom: 34px; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { text-decoration: underline; }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.pdp-photo {
	position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden;
	background: radial-gradient(52% 44% at 50% 64%, color-mix(in srgb, var(--acc) 30%, transparent), transparent 72%), linear-gradient(180deg, #FAF8F4, #E9E3D9);
}
.pdp-photo::after { content: ""; position: absolute; left: 24%; right: 24%; bottom: 7%; height: 5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(40, 30, 20, .3), transparent); }
.pdp-photo img { position: absolute; inset: 9%; width: 82%; height: 82%; margin: auto; object-fit: contain; z-index: 1; filter: drop-shadow(0 30px 30px rgba(30, 24, 18, .22)); animation: float 7s ease-in-out infinite; }
/* Product photo size (set per product; --ph comes from the product's Photo size). */
.product-photo img, .pdp-photo img { object-position: 50% 100%; }
.product-photo img, .pdp-photo img, .tin, .shelf-img img { scale: var(--ph, 1); transform-origin: 50% 100%; }
/* Photos that could not be cut out (busy background): blend the white away on light surfaces. */
.product-photo img.is-raw, .pdp-photo img.is-raw { mix-blend-mode: multiply; filter: none; }
@keyframes float { 50% { transform: translateY(-12px); } }
.pdp-brand { height: 52px; margin-bottom: 22px; }
.pdp-brand img { height: 100%; width: auto; }
.pdp-brand .brand-logo-text { font-family: var(--serif); font-weight: 600; font-size: 1.8rem; letter-spacing: .06em; }
.pdp-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.8rem, 5.4vw, 4.8rem); line-height: .98; letter-spacing: -.015em; margin-bottom: 18px; }
.pdp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; }
.pdp-tags li { padding: 7px 12px; border: 1px solid var(--line); background: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.pdp-tags li:first-child { background: var(--ink); color: #fff; border-color: var(--ink); }
.pdp-tagline { font-size: 1.2rem; color: var(--ink-2); max-width: 40ch; margin-bottom: 28px; }
.pdp-info .tdc-glance { font-size: 15px; margin-bottom: 28px; }
.pdp-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pdp-actions svg { width: 18px; height: 18px; }
.price-tag { font-family: var(--serif); font-weight: 600; font-size: 2rem; margin-right: 8px; }
.pdp-nav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(245, 242, 237, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp-nav .container { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.pdp-nav a { position: relative; padding: 18px 0; text-decoration: none; font-weight: 700; font-size: .88rem; white-space: nowrap; color: var(--muted); }
.pdp-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform .4s var(--ease); }
.pdp-nav a.is-current, .pdp-nav a:hover { color: var(--ink); }
.pdp-nav a.is-current::after { transform: scaleX(1); }
.pdp-sec { padding: 96px 0; background: #fff; }
.pdp-alt { background: var(--paper); }
.pdp-h { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.02; margin-bottom: 30px; }
.pdp-h em { font-style: italic; color: var(--accent); }
.pdp-two { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: start; }
.pdp-copy { font-size: 1.14rem; color: var(--ink-2); }
.pdp-uses { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-uses li { padding: 8px 14px; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; }
.pdp-card { background: var(--paper); border-radius: var(--r-lg); padding: 30px; }
.pdp-alt .pdp-card { background: #fff; }
.pdp-card-title { font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 18px; color: var(--ink-2); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; }
.ticks svg { width: 24px; height: 24px; flex: none; color: var(--acc-on, #fff); background: var(--acc-ink, var(--ink)); border-radius: 50%; padding: 5px; margin-top: 1px; }
.pdp-perf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; font-size: 15px; }
.pdp-perf .span-2 { grid-column: 1 / -1; }
.pdp-perf .tdc { padding: 1.5em 1.6em; }
.shade-view { display: flex; justify-content: space-between; align-items: flex-end; height: 200px; padding: 24px 28px; border-radius: var(--r-lg); background: var(--c); margin-bottom: 20px; transition: background-color .5s; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.shade-view-name { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1; }
.shade-view-hex { font-weight: 700; opacity: .75; }
.shade-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 16px 12px; }
.shade { border: 0; padding: 0; background: none; text-align: left; display: grid; gap: 7px; }
.shade-chip { display: block; height: 84px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .07); transition: transform .35s var(--ease); }
.shade:hover .shade-chip { transform: translateY(-3px); }
.shade.is-selected .shade-chip { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ink); }
.shade-name { font-size: .8rem; font-weight: 600; line-height: 1.25; }
.shade-name .shade-code { display: block; margin-top: 1px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.tds-table { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
.tds-table th, .tds-table td { text-align: left; padding: 15px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tds-table tr:first-child th, .tds-table tr:first-child td { border-top: 1px solid var(--ink); }
.tds-table th { width: 38%; font-weight: 500; color: var(--muted); }
.tds-table td { font-weight: 700; }
.pdp-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.pdp-steps li { counter-increment: s; position: relative; padding-left: 44px; color: var(--ink-2); }
.pdp-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: -2px; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--acc-ink, var(--accent)); }
.pdp-safety { margin-top: 36px; font-size: 15px; }
.pdp-storage { color: var(--muted); margin-top: 18px; }
.disclaimer { font-size: .8rem; color: var(--muted); margin-top: 30px; max-width: 90ch; }
@media (max-width: 960px) {
	.pdp-grid, .pdp-two { grid-template-columns: 1fr; gap: 36px; }
	.pdp-photo { max-width: 460px; width: 100%; margin: 0 auto; }
	.pdp-perf { grid-template-columns: 1fr; }
	.pdp-sec { padding: 70px 0; }
}

/* ================================================================
   Generic pages
   ================================================================ */
.page-main { padding: 70px 0 110px; }
.page-title { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 500; margin-bottom: 22px; }
.entry { margin-bottom: 60px; }
.entry-meta { color: var(--muted); font-size: .92rem; }
.entry-title { font-family: var(--serif); font-size: 2rem; margin-bottom: 10px; }
.entry-title a { text-decoration: none; }
.entry-content { font-size: 1.1rem; }
.entry-content a { color: var(--accent); }
.entry-media { margin: 24px 0; overflow: hidden; }

/* ================================================================
   Motion preferences
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.wd > span { transform: none; }
}

/* On-page photo size control (only loads for logged-in editors). */
.ph-tool { position: fixed; z-index: 9999; display: none; align-items: center; gap: 4px; padding: 5px; background: rgba(18, 20, 24, .94); color: #fff; border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); font: 600 12px/1 var(--sans); transform: translate(-50%, 0); backdrop-filter: blur(6px); }
.ph-tool.is-on { display: flex; }
.ph-tool button { all: unset; box-sizing: border-box; min-width: 30px; height: 30px; padding: 0 9px; display: grid; place-items: center; border-radius: 999px; background: rgba(255, 255, 255, .12); cursor: pointer; font-size: 16px; }
.ph-tool button:hover, .ph-tool button:focus-visible { background: var(--accent, #B8541E); }
.ph-tool .ph-reset { font-size: 11px; letter-spacing: .04em; }
.ph-tool .ph-val { min-width: 44px; text-align: center; font-variant-numeric: tabular-nums; }
.ph-tool .ph-name { max-width: 170px; padding: 0 8px 0 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: rgba(255, 255, 255, .7); font-weight: 500; }
.ph-tool .ph-state { padding: 0 8px; color: #9BE3A4; font-weight: 500; }
.ph-tool .ph-state.is-err { color: #FF9C8A; }
img.ph-target { outline: 2px dashed rgba(184, 84, 30, .8); outline-offset: 4px; }
.ph-toggle { position: fixed; left: 16px; bottom: 16px; z-index: 9998; all: unset; position: fixed; left: 16px; bottom: 16px; z-index: 9998; padding: 10px 14px; border-radius: 999px; background: rgba(18, 20, 24, .9); color: #fff; font: 600 12px/1 var(--sans); cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.ph-toggle[aria-pressed="false"] { opacity: .6; }
@media print { .ph-tool, .ph-toggle { display: none !important; } }

/* Safety net: pasted code/preformatted text in descriptions reads as normal text. */
.pdp-copy pre, .pdp-copy code, .ds-text pre, .ds-text code { font: inherit; white-space: normal; overflow-wrap: anywhere; background: none; padding: 0; margin: 0 0 1em; }

/* Social */
.social { background: var(--paper-2, #EFEAE2); }
.social-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 56px; align-items: start; }
.social-links { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 0; }
.social-link { display: inline-flex; align-items: center; gap: 14px; padding: 14px 22px 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.social-link:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20, 16, 12, .1); }
.social-link svg { width: 38px; height: 38px; padding: 9px; border-radius: 12px; color: #fff; flex: none; }
.social-ig svg { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.social-fb svg { background: #1877F2; }
.social-link span { display: flex; flex-direction: column; font-size: .85rem; color: var(--muted); line-height: 1.35; }
.social-link b { color: var(--ink); font-size: 1rem; }
.social-ig-feed { min-width: 0; }
.social-fb-embed { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg, 18px); overflow: hidden; box-shadow: 0 24px 60px rgba(20, 16, 12, .08); }
.social-fb-embed iframe { display: block; width: 100%; max-width: 500px; height: 640px; border: 0; margin: 0 auto; }
@media (max-width: 960px) { .social-grid { grid-template-columns: 1fr; gap: 40px; } .social-fb-embed iframe { height: 560px; } }
