/* ==========================================================================
   Krishna Traders – Paint & Waterproof Shop, Karur
   Brand colours from the visiting card; one display face (Outfit) + Inter.
   ========================================================================== */

:root {
  --purple: #403285;
  --purple-700: #2f2468;
  --purple-900: #1f1847;
  --purple-50: #f6f4fc;
  --purple-100: #ebe7f7;
  --yellow: #FFE500;
  --yellow-50: #fffbd6;
  --red: #E5232B;
  --green: #79B735;
  --green-700: #4f8a1c;
  --ink: #292929;
  --ink-soft: #55525f;
  --white: #FFFFFF;
  --line: #e4e0ef;
  --wa: #1fa855;

  --font-display: "Outfit", "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 40px -22px rgba(47, 36, 104, .35);
  --shadow-lg: 0 30px 60px -28px rgba(47, 36, 104, .45);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-bloom: cubic-bezier(.34, 1.45, .5, 1);
  --header-h: 76px;
}

/* ---------- Self-hosted fonts (SIL OFL, see assets/fonts) ---------- */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/outfit-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/outfit-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/outfit-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/outfit-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink); background: var(--white); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--purple); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; color: var(--purple); letter-spacing: -.015em; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--purple); color: #fff; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-title { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.25rem); font-weight: 700; max-width: 18ch; text-wrap: balance; }
.section-head--center .section-title { max-width: 22ch; }
#gallery-title { max-width: 26ch; }
.section-title--light { color: #fff; }
.section-intro { color: var(--ink-soft); max-width: 46ch; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--purple); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 11px 22px; border-radius: 999px; border: 2px solid var(--bg);
  background: var(--bg); color: var(--fg); font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease-out), box-shadow .25s, color .25s, border-color .25s;
}
.btn .icon { width: 19px; height: 19px; flex: none; }
.btn::before { /* paint fill that sweeps in on hover */
  content: ""; position: absolute; inset: -2px; z-index: -1; background: var(--yellow);
  transform: translateX(-102%) skewX(-12deg); transition: transform .45s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:hover::before { transform: translateX(0) skewX(0); }
.btn:active { transform: translateY(0); }
.btn--primary:hover { color: var(--purple); border-color: var(--yellow); }
.btn--ghost { --bg: transparent; --fg: var(--purple); border-color: var(--purple); }
.btn--ghost::before { background: var(--purple); }
.btn--ghost:hover { color: #fff; }
.btn--outline { --bg: transparent; --fg: var(--purple); border-color: var(--line); }
.btn--outline::before { background: var(--purple); }
.btn--outline:hover { color: #fff; border-color: var(--purple); }
.btn--whatsapp { --bg: var(--wa); }
.btn--whatsapp::before { background: #178a45; }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1.0625rem; }
.btn--small { min-height: 40px; padding: 8px 18px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--purple-100); color: var(--purple); cursor: pointer; transition: background .2s, color .2s, transform .2s;
}
.icon-btn .icon { width: 21px; height: 21px; }
.icon-btn:hover { background: var(--purple); color: #fff; transform: translateY(-1px); }
.icon-btn--wa { background: #e3f6ea; color: var(--wa); }
.icon-btn--wa:hover { background: var(--wa); color: #fff; }
.icon-btn--light { background: rgba(255, 255, 255, .1); color: #fff; }
.icon-btn--light:hover { background: var(--yellow); color: var(--ink); }

.text-link { -webkit-box-decoration-break: clone; box-decoration-break: clone; font-family: var(--font-display); font-weight: 600; color: var(--purple); text-decoration: none; background: linear-gradient(var(--yellow), var(--yellow)) 0 92% / 100% 6px no-repeat; transition: background-size .3s var(--ease-out); padding-bottom: 2px; }
.text-link:hover { background-size: 100% 100%; }

/* ---------- Scroll progress: a paint roller leaving a trail ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 5px; z-index: 120; pointer-events: none; overflow: visible; }
.scroll-progress > span {
  position: relative; display: block; height: 100%; transform: translateX(-100%); will-change: transform;
  background: linear-gradient(90deg, var(--purple) 0 25%, var(--yellow) 25% 50%, var(--red) 50% 75%, var(--green) 75% 100%);
  background-size: 100vw 100%;
}
.scroll-progress__roller { position: absolute; right: -6px; top: -2px; width: 12px; height: 17px; border-radius: 5px; background: var(--purple); box-shadow: 0 0 0 2px #fff, 0 4px 10px -2px rgba(31, 24, 71, .5); opacity: 0; transition: opacity .3s; }
.scroll-progress__roller::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 9px; margin-left: -1px; background: #6b7178; border-radius: 2px; }
.is-scrolling-page .scroll-progress__roller { opacity: 1; }

/* ---------- Header / navigation ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); box-shadow: 0 6px 24px -14px rgba(31, 24, 71, .35); }
.nav-bar { display: flex; align-items: center; gap: 24px; height: var(--header-h); transition: height .3s; }
.is-scrolled .nav-bar { height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand__mark { width: 44px; height: auto; transition: transform .5s var(--ease-bloom); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__text { display: grid; gap: 3px; }
.brand__word { height: 20px; width: auto; }
.brand__sub { font-size: .75rem; letter-spacing: .02em; color: var(--ink-soft); line-height: 1; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 4px; }
.nav__link {
  display: block; padding: 8px 12px; border-radius: 999px; font-family: var(--font-display); font-weight: 500;
  color: var(--ink); text-decoration: none; font-size: .98rem; position: relative; transition: color .2s;
}
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 3px; border-radius: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.nav__link:hover, .nav__link.is-active { color: var(--purple); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav-quick { display: none; gap: 8px; align-items: center; margin-left: auto; }
.nav-toggle { background: var(--purple); color: #fff; }
.nav-toggle__bars { display: grid; gap: 5px; width: 20px; }
.nav-toggle__bars span { height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease-out), opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 32px) 0 56px; overflow: hidden; background: #fff; }
.hero__blobs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .32; animation: drift 22s ease-in-out infinite alternate; }
.blob--purple { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; background: #8b7fd1; right: -8vw; top: -10vw; }
.blob--yellow { width: 30vw; height: 30vw; max-width: 420px; max-height: 420px; background: var(--yellow); left: -8vw; bottom: -6vw; animation-duration: 26s; opacity: .4; }
.blob--green { width: 22vw; height: 22vw; max-width: 320px; max-height: 320px; background: var(--green); right: 30%; bottom: -10vw; animation-duration: 30s; opacity: .22; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(4vw, 3vw) scale(1.12); } }

.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(24px, 4vw, 64px); }
.hero__kicker { font-weight: 500; color: var(--ink-soft); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.hero__kicker::before { content: ""; width: 28px; height: 28px; flex: none; background: center / contain no-repeat url("../images/logo-mark.svg"); }
.hero__title { font-size: clamp(2.9rem, 1.6rem + 5.4vw, 5.9rem); font-weight: 800; line-height: .98; letter-spacing: -.035em; color: var(--purple-900); margin-bottom: 26px; }
.hero__line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__line > span { display: inline-block; }
.js .hero__line > span { transform: translateY(105%); animation: rise .9s var(--ease-out) forwards; }
.js .hero__line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { to { transform: translateY(0); } }

.splash-word { position: relative; display: inline-block; isolation: isolate; color: var(--purple); white-space: nowrap; }
.splash-word__paint { position: absolute; z-index: -1; left: -6%; right: -8%; top: 22%; width: 114%; height: 82%; fill: var(--yellow); }
.js .splash-word__paint { clip-path: inset(0 100% 0 0); animation: swipe .9s .75s var(--ease-out) forwards; }
@keyframes swipe { to { clip-path: inset(0 0 0 0); } }

.hero__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-soft); max-width: 50ch; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__highlights { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 500; font-size: .98rem; color: var(--ink); }
.hero__highlights li { display: inline-flex; align-items: center; gap: 9px; }
.chip-dot { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.chip-dot--purple { background: var(--purple); } .chip-dot--red { background: var(--red); } .chip-dot--green { background: var(--green); }
.js .hero__kicker, .js .hero__lead, .js .hero__actions, .js .hero__highlights { opacity: 0; animation: fade-up .8s var(--ease-out) forwards; }
.js .hero__kicker { animation-delay: .05s; } .js .hero__lead { animation-delay: .35s; } .js .hero__actions { animation-delay: .5s; } .js .hero__highlights { animation-delay: .65s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero__art { position: relative; width: 100%; max-width: 640px; justify-self: end; }
.js .hero__art { opacity: 0; animation: scene-in 1s .2s var(--ease-out) forwards; }
@keyframes scene-in { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }

/* Painter scene */
.scene { margin: 0; }
.scene__frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #E7E1D5; box-shadow: 0 40px 80px -40px rgba(31, 24, 71, .55), 0 0 0 8px #fff; }
.scene__svg { width: 100%; height: auto; aspect-ratio: 800 / 720; }
.scene__label { position: absolute; left: 16px; top: 34px; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: 0 8px 20px -10px rgba(31, 24, 71, .4); font-size: .85rem; color: var(--ink-soft); }
.scene__label b { color: var(--purple-900); font-family: var(--font-display); font-weight: 600; }
.scene__dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); transition: background .4s; }
.scene__picker { display: grid; gap: 10px; margin-top: 22px; }
.scene__picker-label { font-family: var(--font-display); font-weight: 600; color: var(--purple-900); font-size: .95rem; }
.scene__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px 6px 6px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-family: var(--font-display); font-weight: 500; font-size: .88rem; color: var(--ink); transition: border-color .2s, transform .25s var(--ease-bloom), box-shadow .2s; }
.chip__swatch { width: 26px; height: 26px; border-radius: 50%; background: var(--c); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12); transition: transform .3s var(--ease-bloom); }
.chip:hover { border-color: var(--c); transform: translateY(-2px); }
.chip:hover .chip__swatch { transform: scale(1.12); }
.chip[aria-pressed="true"] { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(64, 50, 133, .14); }
.chip[aria-pressed="true"] .chip__name { color: var(--purple); font-weight: 600; }

/* ---------- Paint touches ---------- */
/* Brush stroke under section titles, painted on as the title appears */
.section-title::after {
  content: ""; display: block; width: 132px; height: 16px; margin-top: 16px; background: var(--brush, var(--yellow));
  -webkit-mask: url("../images/brush-stroke.svg") left center / 100% 100% no-repeat; mask: url("../images/brush-stroke.svg") left center / 100% 100% no-repeat;
}
.section-head--center .section-title::after { margin-inline: auto; }
.js .section-title.reveal::after { clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--ease-out) .45s; }
.js .section-title.reveal.is-in::after { clip-path: inset(0 0 0 0); }
.about { --brush: var(--yellow); } .products { --brush: var(--purple); } .brands { --brush: var(--red); }
.gallery { --brush: var(--green); } .services { --brush: var(--yellow); } .why { --brush: var(--yellow); } .contact { --brush: var(--red); }

/* Roller reveal: an image is "rolled" onto the page */
.roller-reveal { position: relative; overflow: hidden; }
.roller-reveal__roller { display: none; }
.js .roller-reveal img { clip-path: inset(0 100% 0 0); transition: clip-path 1.25s cubic-bezier(.65, 0, .35, 1), transform .8s var(--ease-out); }
.js .roller-reveal.is-in img { clip-path: inset(0 0 0 0); }
.js .roller-reveal__roller {
  display: block; position: absolute; top: -4%; bottom: -4%; left: 0; width: 26px; margin-left: -13px; z-index: 2; border-radius: 13px;
  background: linear-gradient(90deg, rgba(0,0,0,.18), rgba(255,255,255,.28) 40%, rgba(0,0,0,.12)), var(--tone, var(--purple));
  box-shadow: 0 0 24px rgba(31, 24, 71, .35); opacity: 0;
}
.js .roller-reveal.is-in .roller-reveal__roller { animation: roll-across 1.25s cubic-bezier(.65, 0, .35, 1) forwards; }
@keyframes roll-across { 0% { left: 0; opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.service--purple { --tone: var(--purple); }

/* Paint dripping from the purple band into the contact section */
.contact { padding-top: calc(var(--section-y) + 30px); }
.drips { position: absolute; top: 0; left: 0; width: 100%; height: clamp(60px, 8vw, 120px); fill: var(--purple); pointer-events: none; }
.drip { transform-box: fill-box; transform-origin: 50% 0; }
.js .drip { transform: scaleY(.15); transition: transform 1.6s cubic-bezier(.3, 1.3, .5, 1) var(--d, 0s); }
.js .drips.is-in .drip { transform: scaleY(1); }

/* Product cards: the shade strip drips when you hover */
.shade-card__body { position: relative; }
.shade-card__body::before, .shade-card__body::after { content: ""; position: absolute; top: 0; width: 9px; border-radius: 0 0 6px 6px; background: var(--chip); transform: scaleY(0); transform-origin: top; transition: transform .5s cubic-bezier(.3, 1.4, .5, 1); }
.shade-card__body::before { left: 26%; height: 22px; }
.shade-card__body::after { left: 62%; width: 6px; height: 13px; transition-delay: .08s; }
.shade-card:hover .shade-card__body::before, .shade-card:hover .shade-card__body::after { transform: scaleY(1); }

/* Lenis smooth scrolling */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
.lenis.lenis-smooth:not(.lenis-scrolling) iframe { pointer-events: auto; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__media { position: relative; margin: 0; }
.about__img { position: relative; z-index: 1; overflow: hidden; border-radius: 52% 48% 46% 54% / 34% 34% 22% 22%; box-shadow: var(--shadow-lg); }
.about__img img { width: 100%; aspect-ratio: 10 / 11; object-fit: cover; }
.paint-stroke { position: absolute; z-index: 0; inset: -8% -10% -6% -12%; width: 122%; height: 114%; fill: none; stroke: var(--yellow); stroke-width: 46; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2s var(--ease-out) .2s; }
.no-js .paint-stroke, .about__media.is-in .paint-stroke { stroke-dashoffset: 0; }
html:not(.js) .paint-stroke { stroke-dashoffset: 0; }
.about__copy p { color: var(--ink-soft); font-size: 1.1rem; max-width: 56ch; margin-top: 22px; }
.highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.highlight { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: var(--purple-50); font-family: var(--font-display); font-weight: 600; color: var(--purple-900); line-height: 1.25; border-left: 5px solid var(--tone); }
.highlight .icon { width: 30px; height: 30px; flex: none; color: var(--tone); }
.highlight--purple { --tone: var(--purple); } .highlight--yellow { --tone: #d6b800; } .highlight--red { --tone: var(--red); } .highlight--green { --tone: var(--green-700); }

/* ---------- Products: paint shade cards ---------- */
.products { background: var(--purple-50); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.shade-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line); transition: transform .4s var(--ease-out), box-shadow .4s, opacity .8s var(--ease-out); }
.shade-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.shade-card__img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.shade-card__img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--chip); }
.shade-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.shade-card:hover .shade-card__img img { transform: scale(1.08); }
.shade-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; flex: 1; }
.shade-card__title { font-size: 1.2rem; font-weight: 700; color: var(--purple-900); }
.shade-card__body p { font-size: .95rem; color: var(--ink-soft); margin: 0 0 8px; flex: 1; }
.shade-card .btn { align-self: flex-start; }

/* ---------- Brands ---------- */
.brand-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); max-width: 960px; margin-inline: auto; }
.brand-tile { display: grid; place-items: center; min-height: 128px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; transition: background .35s; }
.brand-tile::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 26px; height: 8px; border-radius: 8px; background: var(--tone); transform: scaleX(0); transition: transform .45s var(--ease-out); }
.brand-tile--0 { --tone: var(--purple); } .brand-tile--1 { --tone: var(--yellow); } .brand-tile--2 { --tone: var(--red); } .brand-tile--3 { --tone: var(--green); }
.brand-tile__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); color: var(--ink); letter-spacing: -.01em; transition: color .3s, transform .45s var(--ease-out); }
.brand-tile img { max-height: 54px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .35s, opacity .35s; }
.brand-tile:hover { background: var(--purple-50); }
.brand-tile:hover::after { transform: scaleX(1); }
.brand-tile:hover .brand-tile__name { color: var(--purple); transform: translateY(-6px); }
.brand-tile:hover img { filter: none; opacity: 1; }
.fine-print { text-align: center; font-size: .82rem; color: var(--ink-soft); margin: 22px auto 0; max-width: 60ch; }

/* ---------- Gallery ---------- */
.gallery { background: linear-gradient(180deg, #fff 0%, var(--yellow-50) 100%); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 16px; font-family: var(--font-display); font-weight: 500; cursor: pointer; transition: background .25s, color .25s, border-color .25s; min-height: 42px; }
.filter:hover { border-color: var(--purple); color: var(--purple); }
.filter.is-active { background: var(--purple); border-color: var(--purple); color: #fff; }
.masonry { columns: 3 300px; column-gap: 18px; }
.masonry__item { break-inside: avoid; margin-bottom: 18px; transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
.masonry__item.is-hiding { opacity: 0; transform: scale(.94); }
.masonry__item[hidden] { display: none; }
.masonry__link { display: block; position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; }
.masonry__link img { width: 100%; transition: transform .8s var(--ease-out); }
.masonry__link:hover img, .masonry__link:focus-visible img { transform: scale(1.06); }
.masonry__caption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: end; gap: 12px; padding: 40px 18px 16px; font-family: var(--font-display); font-weight: 600; background: linear-gradient(transparent, rgba(31, 24, 71, .78)); }
.masonry__caption .icon { width: 22px; height: 22px; flex: none; opacity: .85; }

/* Lightbox */
.lightbox { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius); background: #111; color: #fff; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 15, 48, .86); backdrop-filter: blur(4px); }
.lightbox[open] { animation: lb-in .35s var(--ease-out); }
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.lightbox__figure { margin: 0; }
.lightbox__figure img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius) var(--radius) 0 0; background: #fff; }
.lightbox__figure figcaption { padding: 14px 20px; font-family: var(--font-display); font-weight: 500; background: var(--purple-900); border-radius: 0 0 var(--radius) var(--radius); }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; background: #fff; color: var(--purple); box-shadow: var(--shadow); transition: background .2s, transform .2s; }
.lightbox__btn:hover { background: var(--yellow); }
.lightbox__btn .icon { width: 24px; height: 24px; }
.lightbox__close { top: -18px; right: -18px; }
.lightbox__prev { left: -24px; top: 45%; }
.lightbox__next { right: -24px; top: 45%; }
.lightbox__btn:focus-visible { outline-color: var(--yellow); }

/* ---------- Services ---------- */
.services { background: var(--purple-50); }
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.service { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 1px 0 var(--line); transition: box-shadow .4s, transform .4s var(--ease-out), opacity .8s var(--ease-out); }
.service:hover { box-shadow: var(--shadow-lg); }
.service__img { overflow: hidden; min-height: 220px; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.service:hover .service__img img { transform: scale(1.06); }
.service__body { padding: clamp(20px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.service__body h3 { font-size: 1.3rem; font-weight: 700; color: var(--purple-900); }
.service__body p { color: var(--ink-soft); font-size: .98rem; margin: 0 0 6px; }
.service__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px 16px 16px 4px; background: var(--tone); color: var(--on-tone, #fff); transition: transform .5s var(--ease-bloom); }
.service:hover .service__icon { transform: rotate(-10deg) scale(1.08); }
.service__icon .icon { width: 26px; height: 26px; }
.service--purple { --tone: var(--purple); } .service--yellow { --tone: var(--yellow); --on-tone: var(--ink); }
.service--red { --tone: var(--red); } .service--green { --tone: var(--green); }

/* ---------- Why us ---------- */
.why { position: relative; overflow: hidden; background: var(--purple); color: #fff; padding-block: var(--section-y); isolation: isolate; }
.why::before, .why::after { content: ""; position: absolute; z-index: -1; border-radius: 0 100% 0 100%; opacity: .14; }
.why::before { width: 560px; height: 560px; background: #5546a6; right: -200px; top: -230px; transform: rotate(18deg); opacity: 1; }
.why::after { width: 380px; height: 380px; background: #382c78; left: -170px; bottom: -190px; transform: rotate(-30deg); opacity: 1; }
.why .section-title { max-width: 26ch; margin-bottom: clamp(36px, 5vw, 60px); }
.why__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255, 255, 255, .22); }
.why__item { padding: 28px 24px 8px 0; border-right: 1px solid rgba(255, 255, 255, .22); padding-left: 24px; }
.why__item:first-child { padding-left: 0; }
.why__item:last-child { border-right: 0; }
.why__item h3 { color: #fff; font-size: 1.2rem; font-weight: 600; margin: 18px 0 10px; line-height: 1.25; }
.why__item p { color: rgba(255, 255, 255, .78); font-size: .97rem; margin: 0; }
.why__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--tone); color: var(--on-tone, #fff); }
.why__icon .icon { width: 30px; height: 30px; stroke-dasharray: 90; stroke-dashoffset: 0; }
.js .why__item .icon { stroke-dashoffset: 90; transition: stroke-dashoffset 1.6s var(--ease-out) calc(var(--d, 0ms) + .3s); }
.js .why__item.is-in .icon { stroke-dashoffset: 0; }
.why__icon--yellow { --tone: var(--yellow); --on-tone: var(--purple-900); }
.why__icon--red { --tone: var(--red); }
.why__icon--green { --tone: var(--green); --on-tone: var(--purple-900); }
.why__icon--white { --tone: #fff; --on-tone: var(--purple); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact__info { display: grid; gap: 20px; }
.info-card { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-lg); background: var(--purple-50); }
.info-card__name { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--purple-900); margin: 0; line-height: 1.1; }
.info-card__type { color: var(--ink-soft); margin: 4px 0 20px; }
.info-list { display: grid; gap: 14px; }
.info-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; align-items: start; }
.info-list .icon { width: 22px; height: 22px; color: var(--purple); margin-top: 3px; }
.info-list a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.info-list a:hover { color: var(--purple); text-decoration: underline; }
.hours { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; }
.hours div { display: contents; }
.hours dt { font-weight: 600; } .hours dd { margin: 0; color: var(--ink-soft); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.contact__actions .btn { min-height: 44px; padding: 9px 18px; font-size: .95rem; }
.map { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--purple-100); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.enquiry { position: relative; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 24px 60px -30px rgba(31, 24, 71, .4), 0 0 0 1px var(--line); overflow: hidden; }
.enquiry::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: linear-gradient(90deg, var(--purple) 0 25%, var(--yellow) 25% 50%, var(--red) 50% 75%, var(--green) 75% 100%); }
.enquiry__title { font-size: 1.55rem; font-weight: 700; color: var(--purple-900); }
.enquiry__hint { color: var(--ink-soft); font-size: .95rem; margin: 6px 0 22px; }
.enquiry__privacy { font-size: .82rem; color: var(--ink-soft); margin: 12px 0 0; text-align: center; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field label { font-weight: 600; font-size: .94rem; color: var(--purple-900); }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #d6d1e6; border-radius: 12px; background: #fff;
  transition: border-color .2s, box-shadow .2s; font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23403285' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(64, 50, 133, .15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field__error { color: #c0161e; font-size: .86rem; margin: 0; }
.field.is-prefilled select { animation: prefill 1.4s var(--ease-out); }
@keyframes prefill { 0% { box-shadow: 0 0 0 0 rgba(255, 229, 0, 0); } 30% { box-shadow: 0 0 0 8px rgba(255, 229, 0, .7); background-color: var(--yellow-50); } 100% { box-shadow: 0 0 0 0 rgba(255, 229, 0, 0); } }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: 12px; margin-bottom: 16px; font-weight: 500; }
.form-status.is-success { background: #eef8e3; color: #2f5d0e; border: 1px solid #c8e6a6; }
.form-status.is-error { background: #fdecec; color: #9b1218; border: 1px solid #f5c2c4; }
.btn.is-loading .btn__label::after { content: ""; display: inline-block; width: 16px; height: 16px; margin-left: 10px; vertical-align: -2px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: rgba(255, 255, 255, .78); padding: 72px 0 28px; font-size: .96rem; }
.footer-petals { position: absolute; inset: 0 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); height: 6px; }
.footer-petals span:nth-child(1) { background: var(--purple); } .footer-petals span:nth-child(2) { background: var(--yellow); }
.footer-petals span:nth-child(3) { background: var(--red); } .footer-petals span:nth-child(4) { background: var(--green); }
.footer__grid { display: grid; grid-template-columns: 1.4fr .8fr 1.1fr 1.3fr; gap: 40px; }
.brand--footer { color: #fff; margin-bottom: 18px; }
.brand--footer .brand__sub { color: rgba(255, 255, 255, .6); }
.footer__brand p { max-width: 38ch; }
.footer__social { display: flex; gap: 10px; margin: 18px 0 12px; }
.footer__ig { display: flex; align-items: center; gap: 8px; }
.footer__ig .icon { width: 18px; height: 18px; }
.footer__heading { font-size: 1.05rem; font-weight: 600; color: #fff; margin-bottom: 16px; letter-spacing: 0; }
.footer__col ul { display: grid; gap: 9px; }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.footer__contact li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; }
.footer__contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--yellow); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; color: rgba(255, 255, 255, .55); }
.footer__bottom p { margin: 0; }
.footer__credit { flex-basis: 100%; text-align: center; padding-top: 14px; margin-top: 4px !important; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__credit strong { color: rgba(255, 255, 255, .8); font-weight: 600; }
.site-footer :focus-visible { outline-color: var(--yellow); }

/* ---------- Floating actions ---------- */
.floating { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; min-width: 56px; border-radius: 999px; text-decoration: none; box-shadow: 0 16px 30px -12px rgba(31, 24, 71, .55); transition: transform .3s var(--ease-bloom); font-family: var(--font-display); font-weight: 700; }
.fab:hover { transform: translateY(-3px) scale(1.04); }
.fab--wa { background: var(--wa); color: #fff; }
.fab--wa .icon { width: 28px; height: 28px; }
.fab--enquire { background: var(--yellow); color: var(--purple-900); padding: 0 22px; }
.to-top { position: fixed; left: 18px; bottom: 18px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--purple); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(16px) rotate(-90deg); transition: opacity .35s, transform .45s var(--ease-bloom), visibility .35s, background .2s; }
.to-top .icon { width: 22px; height: 22px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav { gap: 16px; }
  .nav__link { padding: 8px 9px; font-size: .94rem; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  :root { --header-h: 66px; }
  .nav-quick { display: flex; }
  /* backdrop-filter would trap the fixed menu panel inside the header */
  .site-header.is-scrolled { backdrop-filter: none; background: #fff; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); margin: 0; z-index: -1;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
    padding: calc(var(--header-h) + 24px) 28px 32px; background: #fff; box-shadow: -20px 0 60px -20px rgba(31, 24, 71, .4);
    transform: translateX(105%); visibility: hidden; transition: transform .5s var(--ease-out), visibility .5s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; gap: 2px; }
  .nav__link { font-size: 1.35rem; font-weight: 600; padding: 12px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav__link::after { left: 4px; right: auto; width: 40px; bottom: 8px; }
  .js .nav.is-open .nav__list li { animation: menu-in .5s var(--ease-out) both; }
  .nav.is-open .nav__list li:nth-child(2) { animation-delay: .04s; } .nav.is-open .nav__list li:nth-child(3) { animation-delay: .08s; }
  .nav.is-open .nav__list li:nth-child(4) { animation-delay: .12s; } .nav.is-open .nav__list li:nth-child(5) { animation-delay: .16s; }
  .nav.is-open .nav__list li:nth-child(6) { animation-delay: .2s; }
  .nav__cta { width: 100%; }
  .nav-backdrop { position: fixed; inset: 0; z-index: 99; background: rgba(31, 24, 71, .45); opacity: 0; transition: opacity .4s; }
  .nav-backdrop.is-visible { opacity: 1; }
  .brand, .nav-quick { position: relative; z-index: 2; }
  .why__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__item:nth-child(2) { border-right: 0; }
  .why__item:nth-child(3) { padding-left: 0; }
  .why__item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .22); margin-top: 24px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@keyframes menu-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 28px); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 560px; justify-self: center; width: 100%; margin-top: 12px; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; margin-inline: auto; width: 100%; }
  .service-list { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .brand__mark { width: 36px; }
  .brand__word { height: 16px; }
  .brand__sub { display: none; }
  .scene__label { left: 10px; top: 26px; font-size: .78rem; padding: 5px 12px 5px 8px; }
  .chip { padding-right: 12px; font-size: .82rem; min-height: 38px; }
  .chip__swatch { width: 22px; height: 22px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__highlights { gap: 8px 16px; font-size: .92rem; }
  .highlights { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .shade-card { display: grid; grid-template-columns: 42% 1fr; }
  .shade-card__img { aspect-ratio: auto; min-height: 100%; }
  .shade-card__img::after { left: auto; top: 0; width: 8px; height: auto; }
  .shade-card__body { padding: 14px 14px 16px; }
  .shade-card__title { font-size: 1.05rem; }
  .shade-card__body p { font-size: .88rem; }
  .brand-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-tile { min-height: 84px; padding: 12px 6px; }
  .brand-tile__name { font-size: 1.05rem; text-align: center; }
  .brand-tile::after { bottom: 14px; height: 6px; }
  .service { grid-template-columns: 1fr; }
  .service__img { min-height: 0; aspect-ratio: 16 / 9; }
  .why__list { grid-template-columns: 1fr; }
  .why__item, .why__item:nth-child(3) { padding-left: 0; border-right: 0; }
  .why__item:nth-child(n+2) { border-top: 1px solid rgba(255, 255, 255, .22); margin-top: 20px; }
  .field-row { grid-template-columns: 1fr; }
  .hours { grid-template-columns: 1fr; gap: 0; }
  .hours dd { margin-bottom: 6px; }
  .contact__actions .btn { flex: 1 1 auto; white-space: nowrap; padding-inline: 16px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .lightbox__prev { left: 8px; top: auto; bottom: 64px; }
  .lightbox__next { right: 8px; top: auto; bottom: 64px; }
  .lightbox__close { right: 8px; top: 8px; }
  .fab { height: 52px; min-width: 52px; }
  .fab--enquire { padding: 0 18px; }
  .to-top { width: 44px; height: 44px; }
}

/* ---------- Without JavaScript: solid header, menu always visible on small screens ---------- */
html:not(.js) .site-header { background: #fff; box-shadow: 0 6px 24px -14px rgba(31, 24, 71, .35); }
@media (max-width: 1024px) {
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .site-header { position: relative; }
  html:not(.js) .nav-bar { flex-wrap: wrap; height: auto; padding-block: 10px; gap: 10px; }
  html:not(.js) .nav { order: 3; position: static; transform: none; visibility: visible; width: 100%; padding: 0; margin: 0; box-shadow: none; background: none; z-index: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; }
  html:not(.js) .nav__list { flex-direction: row; flex-wrap: wrap; gap: 2px; }
  html:not(.js) .nav__link { font-size: .95rem; font-weight: 500; padding: 6px 10px; border: 0; }
  html:not(.js) .nav__cta { width: auto; min-height: 40px; }
  html:not(.js) .hero { padding-top: 28px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .blob { animation: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .floating, .to-top, .scroll-progress, .hero__blobs, .map, .enquiry { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
