/* ==========================================================================
   Velan Agencies — main stylesheet
   Built on Bootstrap 5.3 (grid, modal, offcanvas only). Brand: red accent.
   ========================================================================== */

/* ---------- Self-hosted fonts ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-300.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/playfair-display-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B9, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/playfair-display-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B9, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/playfair-display-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B9, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 600; font-display: swap; src: url("../fonts/playfair-display-600-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B9, U+2122, U+2212, U+FEFF, U+FFFD; }
/* Tamil glyphs only download when Tamil text is on screen */
@font-face { font-family: "Noto Sans Tamil"; font-weight: 400; font-display: swap; src: url("../fonts/noto-sans-tamil-400.woff2") format("woff2"); unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC; }
@font-face { font-family: "Noto Sans Tamil"; font-weight: 500; font-display: swap; src: url("../fonts/noto-sans-tamil-500.woff2") format("woff2"); unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC; }
@font-face { font-family: "Noto Sans Tamil"; font-weight: 600; font-display: swap; src: url("../fonts/noto-sans-tamil-600.woff2") format("woff2"); unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC; }
@font-face { font-family: "Noto Sans Tamil"; font-weight: 700; font-display: swap; src: url("../fonts/noto-sans-tamil-700.woff2") format("woff2"); unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC; }
@font-face { font-family: "Noto Serif Tamil"; font-weight: 600; font-display: swap; src: url("../fonts/noto-serif-tamil-600.woff2") format("woff2"); unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC; }
@font-face { font-family: "Noto Serif Tamil"; font-weight: 700; font-display: swap; src: url("../fonts/noto-serif-tamil-700.woff2") format("woff2"); unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC; }

/* ---------- Design tokens ---------- */
:root {
  --red: #c8102e;
  --red-600: #a80d27;
  --red-700: #7e0a1d;
  --red-50: #fff1f2;
  --red-100: #ffe1e4;
  --gold: #c9a24b;
  --gold-soft: #f6ecd2;
  --amber: #f5a300;
  --amber-600: #d98500;
  --amber-soft: #fff4dc;
  --ink: #1c1517;
  --ink-2: #3f3437;
  --muted: #74686b;
  --cream: #fbf7f4;
  --paper: #ffffff;
  --line: rgba(28, 21, 23, .09);
  --whatsapp: #1fa855;

  --font-sans: "Poppins", "Noto Sans Tamil", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Playfair Display", "Noto Serif Tamil", Georgia, "Times New Roman", serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(28, 21, 23, .06);
  --shadow: 0 18px 40px -18px rgba(28, 21, 23, .22);
  --shadow-red: 0 16px 34px -14px rgba(200, 16, 46, .55);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 76px;

  --bs-body-font-family: var(--font-sans);
  --bs-body-color: var(--ink-2);
  --bs-body-bg: var(--cream);
  --bs-link-color: var(--red);
  --bs-link-hover-color: var(--red-600);
  --bs-link-color-rgb: 200, 16, 46;
  --bs-link-hover-color-rgb: 168, 13, 39;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { color: var(--ink); font-weight: 600; line-height: 1.2; text-wrap: balance; }
img { max-width: 100%; height: auto; }
a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-600); }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid rgba(200, 16, 46, .45); outline-offset: 3px; border-radius: 6px; }

/* Tamil: longer words, taller glyphs */
html[lang="ta"] body { line-height: 1.85; }
html[lang="ta"] h1, html[lang="ta"] h2, html[lang="ta"] h3 { line-height: 1.4; letter-spacing: 0; }
html[lang="ta"] .eyebrow { letter-spacing: .04em; }

.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 2000;
  background: var(--red); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: #fff; }

.container { --bs-gutter-x: 2rem; max-width: 1240px; }
@media (max-width: 575.98px) { .container { --bs-gutter-x: 2.25rem; } }
@media (min-width: 992px) { .container { --bs-gutter-x: 3rem; } }

.anchor-alias { position: absolute; top: 0; }

/* ---------- Buttons ---------- */
.btn-x {
  --bx-bg: var(--paper); --bx-fg: var(--ink); --bx-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .8rem 1.4rem; border-radius: 999px; border: 1.5px solid var(--bx-bd);
  background: var(--bx-bg); color: var(--bx-fg);
  font-weight: 500; font-size: .95rem; line-height: 1.2; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  cursor: pointer;
}
.btn-x:hover { transform: translateY(-2px); color: var(--bx-fg); }
.btn-x:active { transform: translateY(0); }
.btn-x i { font-size: .95em; transition: transform .25s var(--ease); }
.btn-x:hover .fa-arrow-right { transform: translateX(4px); }
.btn-x--sm { padding: .55rem 1.05rem; font-size: .875rem; }
.btn-x--lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn-x--primary { --bx-bg: linear-gradient(135deg, #e0213f 0%, var(--red) 45%, var(--red-700) 100%); --bx-fg: #fff; background: var(--bx-bg); box-shadow: var(--shadow-red); }
.btn-x--primary:hover { box-shadow: 0 20px 40px -14px rgba(200, 16, 46, .7); }
.btn-x--dark { --bx-bg: var(--ink); --bx-fg: #fff; }
.btn-x--dark:hover { --bx-bg: var(--red); }
.btn-x--ghost { --bx-bg: transparent; --bx-fg: var(--ink); --bx-bd: rgba(28, 21, 23, .18); }
.btn-x--ghost:hover { --bx-bd: var(--red); --bx-fg: var(--red); }
.btn-x--light { --bx-bg: #fff; --bx-fg: var(--red); }
.btn-x--outline-light { --bx-bg: transparent; --bx-fg: #fff; --bx-bd: rgba(255, 255, 255, .55); }
.btn-x--outline-light:hover { --bx-bg: rgba(255, 255, 255, .12); --bx-bd: #fff; }
.btn-x--whatsapp { --bx-bg: var(--whatsapp); --bx-fg: #fff; box-shadow: 0 12px 26px -14px rgba(31, 168, 85, .8); }
.btn-x--amber { --bx-bg: linear-gradient(135deg, #ffc94a 0%, var(--amber) 50%, var(--amber-600) 100%); --bx-fg: #2a1a00; background: var(--bx-bg); box-shadow: 0 16px 34px -14px rgba(245, 163, 0, .6); font-weight: 600; }
.btn-x--amber:hover { --bx-fg: #2a1a00; box-shadow: 0 20px 40px -14px rgba(245, 163, 0, .8); }
.btn-x[disabled] { opacity: .7; pointer-events: none; }
@media (max-width: 575.98px) { .btn-x { white-space: normal; text-align: center; max-width: 100%; } }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  color: var(--red); font-weight: 600; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--amber { color: var(--amber); }
.eyebrow--center::after { content: ""; width: 32px; height: 2px; background: currentColor; border-radius: 2px; }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem);
  font-weight: 600; margin-bottom: 1rem; letter-spacing: -.01em;
}
.section-title em, .hero__title em, .cta-band h2 em { font-style: italic; color: var(--red); }
html[lang="ta"] .section-title em, html[lang="ta"] .hero__title em, html[lang="ta"] .cta-band h2 em { font-style: normal; }
html[lang="ta"] .section-title { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem); }
.section-sub { color: var(--muted); max-width: 640px; margin-inline: auto; font-size: 1.05rem; }
.lead-x { font-size: 1.12rem; color: var(--ink-2); }
.section { position: relative; padding-block: clamp(4rem, 3rem + 5vw, 7.5rem); }
.section--tint { background: var(--paper); }
.section-head { margin-bottom: clamp(2.25rem, 1.5rem + 2vw, 3.5rem); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .78); font-size: .82rem; padding-block: .55rem; }
.topbar__note i { color: var(--gold); margin-right: .35rem; }
.topbar__links { display: flex; gap: 1.5rem; }
.topbar__links a { color: rgba(255, 255, 255, .78); }
.topbar__links a:hover { color: #fff; }
.topbar__links i { color: var(--red-100); margin-right: .35rem; opacity: .85; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  min-height: var(--header-h); display: flex; align-items: center;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, min-height .3s;
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(28, 21, 23, .35); border-color: var(--line); --header-h: 66px; }
.brand img { height: 48px; width: auto; display: block; transition: height .3s; }
.site-header.is-scrolled .brand img { height: 42px; }
@media (max-width: 400px) { .brand img { height: 38px; } }

.main-nav ul { gap: .25rem; }
.nav-link-x {
  position: relative; display: block; padding: .5rem .9rem;
  color: var(--ink); font-weight: 500; font-size: .95rem;
}
.nav-link-x::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .2rem; height: 2px;
  background: var(--red); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-link-x:hover, .nav-link-x.is-active { color: var(--red); }
.nav-link-x:hover::after, .nav-link-x.is-active::after { transform: scaleX(1); }
html[lang="ta"] .nav-link-x { font-size: .86rem; padding-inline: .55rem; }
.nav-link-x--ap::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: .45rem; vertical-align: middle;
  background: conic-gradient(var(--red), var(--amber), #1e9e4a, #1663c7, var(--red));
}
html[lang="ta"] .nav-link-x::after { left: .6rem; right: .6rem; }

/* Language switch */
.lang-switch {
  display: inline-flex; padding: 3px; border-radius: 999px;
  background: var(--red-50); border: 1px solid var(--red-100);
}
.lang-switch__btn {
  border: 0; background: transparent; color: var(--red-700);
  font-size: .8rem; font-weight: 600; padding: .38rem .75rem; border-radius: 999px; line-height: 1.2;
  transition: background .25s, color .25s, box-shadow .25s;
  font-family: var(--font-sans);
}
.lang-switch__btn[aria-pressed="true"] { background: var(--red); color: #fff; box-shadow: 0 6px 14px -6px rgba(200, 16, 46, .7); }

/* Hamburger */
.menu-toggle {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.menu-toggle span:nth-child(2) { width: 14px; margin-left: 6px; background: var(--red); }

/* Mobile nav */
.mobile-nav { --bs-offcanvas-width: min(340px, 86vw); background: var(--cream); }
.mobile-nav__logo { height: 40px; width: auto; }
.mobile-nav__list li { border-bottom: 1px solid var(--line); }
.mobile-nav__list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem .25rem; color: var(--ink); font-weight: 500; font-size: 1.05rem;
}
.mobile-nav__list a::after { content: "\2192"; color: var(--red); transition: transform .25s; }
.mobile-nav__list a:hover::after { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-top: clamp(3rem, 2rem + 4vw, 6rem);
  padding-bottom: clamp(5.5rem, 4rem + 5vw, 8.5rem);
  background:
    radial-gradient(rgba(200, 16, 46, .07) 1px, transparent 1.4px) 0 0 / 22px 22px,
    linear-gradient(180deg, #fff 0%, var(--cream) 100%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.hero__glow--1 { width: 520px; height: 520px; right: -140px; top: -120px; background: rgba(200, 16, 46, .16); }
.hero__glow--2 { width: 380px; height: 380px; left: -160px; bottom: -80px; background: rgba(201, 162, 75, .18); }
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.6rem);
  font-weight: 600; line-height: 1.06; letter-spacing: -.02em; margin-bottom: 1.4rem;
}
html[lang="ta"] .hero__title { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.2rem); line-height: 1.35; }
.hero__lead { font-size: clamp(1.02rem, .95rem + .35vw, 1.18rem); color: var(--ink-2); max-width: 560px; margin-bottom: 2rem; }
.hero__lead strong { color: var(--red); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.5rem; }
.hero__stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
  max-width: 520px; margin: 0; padding-top: 1.75rem; border-top: 1px solid var(--line);
}
.hero__stats dt { font-family: var(--font-serif); font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); color: var(--ink); font-weight: 700; line-height: 1; }
.hero__stats dd { margin: .4rem 0 0; font-size: .85rem; color: var(--muted); line-height: 1.4; }

.hero__visual { position: relative; padding: 1.5rem 0 2.5rem; }
.hero__frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 5 / 4; background: #fff;
  box-shadow: 0 40px 80px -40px rgba(28, 21, 23, .45), 0 0 0 1px var(--line);
}
.hero__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(28, 21, 23, .08));
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 36% 50%; transform: scale(1.02); animation: heroZoom 18s ease-in-out infinite alternate; }
@keyframes heroZoom { to { transform: scale(1.1); } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: .8rem;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px);
  padding: .8rem 1.1rem .8rem .8rem; border-radius: 16px; box-shadow: var(--shadow);
  animation: floaty 6s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--ink); font-size: .92rem; line-height: 1.25; }
.float-card small { display: block; color: var(--muted); font-size: .76rem; }
.float-card--a { left: -1.25rem; bottom: 4.5rem; }
.float-card--b { right: -1rem; top: .25rem; animation-delay: -3s; }
.float-card__icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: var(--red-50); color: var(--red); font-size: 1.1rem;
}
.float-card__icon--gold { background: var(--gold-soft); color: #9c7a2c; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
.swatches { position: absolute; right: 1.5rem; bottom: .75rem; display: flex; }
.swatches span {
  width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; margin-left: -10px;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease);
}
.swatches span:nth-child(1) { background: var(--red); }
.swatches span:nth-child(2) { background: #f2b705; }
.swatches span:nth-child(3) { background: #1e9e4a; }
.swatches span:nth-child(4) { background: #1663c7; }
.swatches span:nth-child(5) { background: #1c1517; }
.swatches:hover span { transform: translateY(-6px); }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; fill: var(--red); }

@media (max-width: 991.98px) {
  .float-card--a { left: .5rem; }
  .float-card--b { right: .5rem; }
}
@media (max-width: 575.98px) {
  .hero__stats { gap: .5rem; }
  .hero__stats dd { font-size: .75rem; }
  .hero__ctas .btn-x { flex: 1 1 100%; }
  .float-card { padding: .6rem .8rem .6rem .6rem; }
  .float-card__icon { width: 34px; height: 34px; font-size: .95rem; }
  .float-card--a { bottom: 3rem; }
  .swatches span { width: 26px; height: 26px; }
}

/* ---------- Brand marquee ---------- */
.marquee {
  background: var(--red); color: #fff; overflow: hidden; padding-block: 1.1rem;
}
.marquee__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; margin: 0; padding: 0; list-style: none; }
.marquee__list li {
  font-family: var(--font-serif); font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); font-weight: 600;
  padding-right: 2.25rem; white-space: nowrap; display: flex; align-items: center; gap: 2.25rem;
}
.marquee__list li::after { content: "\2726"; font-size: .6em; color: rgba(255, 255, 255, .55); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about__visual { position: relative; min-height: 440px; max-width: 480px; margin-inline: auto; }
.about__photo {
  position: absolute; border-radius: var(--radius); overflow: hidden; background: #fff;
  box-shadow: var(--shadow); border: 6px solid #fff;
}
.about__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about__photo--1 { width: 64%; aspect-ratio: 27 / 22; left: 0; top: 0; transform: rotate(-3deg); }
.about__photo--2 { width: 58%; aspect-ratio: 27 / 22; right: 0; bottom: 0; transform: rotate(3deg); }
.medallion { position: absolute; right: 4%; top: 6%; }
.medallion__ring {
  width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, #fffaf0 0%, #fbeccb 70%);
  box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--gold), var(--shadow);
}
.medallion__ring img { width: 112px; height: auto; }
.years-badge {
  position: absolute; left: 6%; bottom: 8%;
  width: 136px; height: 136px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(140deg, #e0213f, var(--red-700)); color: #fff; box-shadow: var(--shadow-red);
  line-height: 1.15; font-size: .8rem;
}
.years-badge strong { font-family: var(--font-serif); font-size: 2.4rem; line-height: 1; margin-bottom: .2rem; }
@media (max-width: 575.98px) {
  .about__visual { min-height: 340px; }
  .medallion__ring { width: 112px; height: 112px; }
  .medallion__ring img { width: 82px; }
  .years-badge { width: 108px; height: 108px; font-size: .7rem; }
  .years-badge strong { font-size: 1.9rem; }
}
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .75rem; }
@media (min-width: 768px) { .checklist { grid-template-columns: 1fr 1fr; } }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink); font-weight: 500; line-height: 1.5; }
.checklist i { color: var(--red); margin-top: .2rem; }

/* ---------- Product categories ---------- */
.cat-card {
  height: 100%; display: flex; flex-direction: column;
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(200, 16, 46, .25); }
.cat-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: #f3eeea; }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat-card:hover .cat-card__media img { transform: scale(1.07); }
.cat-card__body { position: relative; padding: 2.1rem 1.5rem 1.6rem; flex: 1; }
.cat-card__icon {
  position: absolute; top: -26px; left: 1.5rem;
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(140deg, #e0213f, var(--red-700)); color: #fff; font-size: 1.2rem;
  box-shadow: var(--shadow-red);
}
.cat-card h3 { font-size: 1.25rem; margin-bottom: .45rem; }
.cat-card p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.chips li {
  font-size: .78rem; font-weight: 500; color: var(--red-700);
  background: var(--red-50); border: 1px solid var(--red-100); padding: .25rem .65rem; border-radius: 999px;
}

/* ---------- Featured slider ---------- */
.featured { background: linear-gradient(180deg, var(--cream), #fff); }
.featured-swiper { padding-bottom: 3rem !important; overflow: visible; }
.featured .container { overflow: hidden; padding-block: 1rem; }
.shot {
  margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff;
  aspect-ratio: 27 / 22; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.swiper-slide:hover .shot { transform: translateY(-6px); box-shadow: var(--shadow); }
.slider-nav { display: flex; gap: .5rem; }
.slider-nav__btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(28, 21, 23, .15);
  background: #fff; color: var(--ink); display: grid; place-items: center; transition: .25s;
}
.slider-nav__btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.featured-pagination .swiper-pagination-bullet { background: var(--ink); opacity: .2; width: 8px; height: 8px; transition: .3s; }
.featured-pagination .swiper-pagination-bullet-active { background: var(--red); opacity: 1; width: 26px; border-radius: 6px; }

/* ---------- Brand gallery ---------- */
.filters {
  display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 2.25rem;
}
@media (max-width: 767.98px) {
  .filters {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(var(--bs-gutter-x) * -.5); padding-inline: calc(var(--bs-gutter-x) * .5); padding-bottom: .25rem;
    scroll-snap-type: x proximity;
  }
  .filters::-webkit-scrollbar { display: none; }
}
.filter-btn {
  flex: none; scroll-snap-align: start;
  border: 1.5px solid rgba(28, 21, 23, .12); background: #fff; color: var(--ink);
  padding: .55rem 1.1rem; border-radius: 999px; font-size: .88rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: .5rem; transition: .25s;
}
.filter-btn small { font-size: .72rem; background: var(--cream); color: var(--muted); border-radius: 999px; padding: .05rem .45rem; transition: .25s; }
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-btn[aria-selected="true"] small { background: var(--red); color: #fff; }

.brand-card {
  position: relative; display: block; width: 100%; height: 100%; text-align: left;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; padding: 0;
  box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  animation: cardIn .5s var(--ease) both; animation-delay: var(--i, 0ms);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.brand-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.brand-card__media { display: block; position: relative; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
.brand-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 10%; transition: transform .7s var(--ease); }
.brand-card:hover .brand-card__media img { transform: scale(1.08); }
.brand-card__overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(200, 16, 46, 0) 40%, rgba(126, 10, 29, .85));
  opacity: 0; transition: opacity .35s;
}
.brand-card__overlay span {
  align-self: end; margin-bottom: 1rem; color: #fff; font-weight: 500; font-size: .85rem;
  display: inline-flex; gap: .45rem; align-items: center; transform: translateY(10px); transition: transform .35s var(--ease);
}
.brand-card:hover .brand-card__overlay, .brand-card:focus-visible .brand-card__overlay { opacity: 1; }
.brand-card:hover .brand-card__overlay span { transform: none; }
.brand-card__body { padding: .9rem 1rem 1.1rem; border-top: 1px solid var(--line); }
.brand-card__title { display: block; font-family: var(--font-sans); font-size: 1rem; font-weight: 600; color: var(--ink); line-height: 1.3; margin-top: .2rem; }
.tag {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  color: var(--red); text-transform: uppercase;
}
html[lang="ta"] .tag { text-transform: none; letter-spacing: 0; }
@media (max-width: 575.98px) {
  .brand-card__body { padding: .7rem .75rem .85rem; }
  .brand-card__title { font-size: .9rem; }
}

/* Brand modal */
.brand-modal .modal-content { border: 0; border-radius: var(--radius-lg); overflow: hidden; }
.brand-modal__close {
  position: absolute; right: 1rem; top: 1rem; z-index: 5;
  background-color: #fff; border-radius: 50%; padding: .75rem; opacity: 1; box-shadow: var(--shadow-sm);
}
.brand-modal__gallery { background: #f6f2ee; height: 100%; display: flex; flex-direction: column; padding: 1.5rem; gap: 1rem; }
.brand-modal__stage { flex: 1; min-height: 300px; display: grid; place-items: center; background: #fff; border-radius: var(--radius); overflow: hidden; }
.brand-modal__stage img { max-height: 420px; width: 100%; object-fit: contain; padding: 1rem; animation: fadeIn .4s; }
@keyframes fadeIn { from { opacity: 0; } }
.brand-modal__thumbs { display: flex; gap: .6rem; overflow-x: auto; padding-bottom: .25rem; }
.brand-modal__thumbs button {
  flex: none; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; padding: 4px;
  background: #fff; border: 2px solid transparent; transition: .25s;
}
.brand-modal__thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.brand-modal__thumbs button[aria-current="true"] { border-color: var(--red); }
.brand-modal__info { padding: 2.5rem 2rem; }
.brand-modal__info h3 { font-family: var(--font-serif); font-size: 1.9rem; margin: .35rem 0 1rem; }
.brand-modal__info p { color: var(--ink-2); }
@media (max-width: 991.98px) { .brand-modal__info { padding: 1.75rem 1.5rem 2rem; } .brand-modal__stage { min-height: 240px; } }

/* ---------- Services ---------- */
.svc-card {
  position: relative; height: 100%; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem 1.8rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .4s;
  isolation: isolate;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(145deg, #e0213f 0%, var(--red) 40%, var(--red-700) 100%);
  clip-path: circle(0% at 100% 0%); transition: clip-path .7s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-red); }
.svc-card:hover::before { clip-path: circle(150% at 100% 0%); }
.svc-card:hover h3, .svc-card:hover p { color: #fff; }
.svc-card__num {
  position: absolute; right: 1.5rem; top: 1rem;
  font-family: var(--font-serif); font-size: 3.2rem; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(200, 16, 46, .22); transition: .4s;
}
.svc-card:hover .svc-card__num { -webkit-text-stroke-color: rgba(255, 255, 255, .45); }
.svc-card__icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.4rem;
  background: var(--red-50); color: var(--red); font-size: 1.35rem; transition: .4s;
}
.svc-card:hover .svc-card__icon { background: rgba(255, 255, 255, .16); color: #fff; }
.svc-card h3 { font-size: 1.2rem; margin-bottom: .6rem; transition: color .4s; }
.svc-card p { color: var(--muted); margin: 0; font-size: .95rem; transition: color .4s; }

/* ---------- CTA band ---------- */
.cta-band { padding-bottom: clamp(4rem, 3rem + 4vw, 6rem); }
.cta-band__inner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .16), transparent 40%),
    linear-gradient(130deg, #e0213f 0%, var(--red) 40%, var(--red-700) 100%);
  color: #fff; padding: clamp(2.25rem, 1.5rem + 3vw, 4rem);
  display: grid; gap: 2rem; align-items: center;
  box-shadow: 0 40px 80px -40px rgba(200, 16, 46, .8);
}
@media (min-width: 992px) { .cta-band__inner { grid-template-columns: 1.4fr 1fr; } }
.cta-band h2 { font-family: var(--font-serif); color: #fff; font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.8rem); margin-bottom: .75rem; }
.cta-band h2 em { color: #ffd9a8 !important; }
html[lang="ta"] .cta-band h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 0; max-width: 560px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; position: relative; z-index: 1; }
@media (min-width: 992px) { .cta-band__actions { justify-content: flex-end; } }
.cta-band__text { position: relative; z-index: 1; }
.cta-band__drops span { position: absolute; border-radius: 50%; opacity: .9; animation: floaty 7s ease-in-out infinite; }
.cta-band__drops span:nth-child(1) { width: 120px; height: 120px; right: -30px; bottom: -40px; background: rgba(255, 255, 255, .1); }
.cta-band__drops span:nth-child(2) { width: 22px; height: 22px; right: 38%; top: 18%; background: #f2b705; animation-delay: -2s; }
.cta-band__drops span:nth-child(3) { width: 14px; height: 14px; right: 32%; bottom: 20%; background: #34c46a; animation-delay: -4s; }
@media (max-width: 767.98px) { .cta-band__drops span:not(:first-child) { display: none; } }
.cta-band__drops span:nth-child(4) { width: 18px; height: 18px; left: 46%; bottom: 12%; background: #4d9bff; animation-delay: -1s; }

/* ---------- Contact ---------- */
.contact { background: var(--paper); }
.info-card {
  display: flex; flex-direction: column;
  background: var(--ink); color: rgba(255, 255, 255, .78);
  border-radius: var(--radius-lg); padding: 2.25rem 2rem; position: relative; overflow: hidden;
}
.info-card::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  right: -90px; top: -90px; background: radial-gradient(circle, rgba(200, 16, 46, .55), transparent 70%);
}
.info-card h3 { color: #fff; font-family: var(--font-serif); font-size: 1.6rem; margin-bottom: 1.6rem; position: relative; z-index: 1; }
.info-list { margin-bottom: 1.75rem; position: relative; z-index: 1; }
.info-list li { display: flex; gap: 1rem; padding-block: .9rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.info-list li:last-child { border-bottom: 0; }
.info-list__icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(200, 16, 46, .18); color: #ff8a9b;
}
.info-list h4 { color: #fff; font-size: .95rem; margin-bottom: .2rem; font-family: var(--font-sans); }
.info-list p { margin: 0; font-size: .92rem; line-height: 1.6; }
.info-list a { color: rgba(255, 255, 255, .88); }
.info-list a:hover { color: #fff; text-decoration: underline; }

.form-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
}
.form-card h3 { font-family: var(--font-serif); font-size: 1.6rem; margin-bottom: 1.5rem; }
@media (max-width: 575.98px) { .form-card, .info-card { padding: 1.75rem 1.25rem; } }

/* Floating-label fields */
.field { position: relative; }
.field input, .field textarea {
  width: 100%; border: 1.5px solid rgba(28, 21, 23, .12); background: #fff; border-radius: 14px;
  padding: 1.45rem 1rem .55rem; font-size: 1rem; color: var(--ink); font-family: inherit;
  transition: border-color .25s, box-shadow .25s; resize: vertical;
}
.field textarea { min-height: 150px; }
.field label {
  position: absolute; left: 1rem; top: 1rem; color: var(--muted); font-size: .98rem; pointer-events: none;
  transform-origin: left top; transition: transform .2s var(--ease), color .2s;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 4px rgba(200, 16, 46, .1); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-.62rem) scale(.78); color: var(--red); }
.field.has-error input, .field.has-error textarea { border-color: #d93025; background: #fffafa; }
.field__error { color: #c5221f; font-size: .8rem; margin-top: .35rem; min-height: 0; }
.field__error:empty { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: .92rem; font-weight: 500; }
.form-status.is-success { color: #1b7f3b; }
.form-status.is-error { color: #c5221f; }

/* Map */
.map-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.map-card__tabs { display: flex; flex-wrap: wrap; gap: .5rem; padding: .75rem; border-bottom: 1px solid var(--line); align-items: center; }
.map-tab {
  border: 0; background: transparent; color: var(--ink-2); font-weight: 500; font-size: .9rem;
  padding: .55rem 1rem; border-radius: 999px; display: inline-flex; gap: .5rem; align-items: center; transition: .25s;
}
.map-tab i { color: var(--red); }
.map-tab.is-active { background: var(--red-50); color: var(--red-700); }
.map-card__dir { margin-left: auto; font-weight: 500; font-size: .9rem; display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; }
@media (max-width: 575.98px) { .map-card__dir { margin-left: 0; } .map-tab { font-size: .82rem; } }
.map-card__frame { height: clamp(300px, 38vw, 460px); background: #eee6e1; }
.map-card__frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }

/* ---------- Footer ---------- */
.site-footer {
  background: #140f10; color: rgba(255, 255, 255, .65);
  padding-top: clamp(3.5rem, 3rem + 3vw, 5rem);
  padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  position: relative;
}
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--red-700), var(--red), var(--gold)); }
.footer-brand { display: inline-block; }
.footer-brand img { height: 56px; width: auto; display: block; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; font-family: var(--font-sans); }
.footer-links li, .footer-contact li { margin-bottom: .55rem; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .65); font-size: .92rem; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .7rem; align-items: center; }
.footer-contact i { color: var(--red); width: 16px; text-align: center; }
.footer-contact a { word-break: break-all; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem;
}
.footer-bottom a { color: #fff; }

/* ---------- Floating actions ---------- */
.fab-dock {
  position: fixed; right: max(1rem, env(safe-area-inset-right, 0px)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 1020; display: flex; flex-direction: column; gap: .6rem;
}
.fab-dock__btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-size: 1.3rem; border: 0; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .45);
  transition: transform .3s var(--ease), opacity .3s, visibility .3s;
}
.fab-dock__btn:hover { color: #fff; transform: scale(1.08); }
.fab-dock__btn--wa { background: var(--whatsapp); position: relative; }
.fab-dock__btn--wa::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--whatsapp);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { to { transform: scale(1.6); opacity: 0; } }
.fab-dock__btn--call { background: var(--red); }
.fab-dock__btn--top { background: var(--ink); font-size: 1rem; opacity: 0; visibility: hidden; transform: translateY(10px); }
.fab-dock__btn--top.is-visible { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 575.98px) {
  .fab-dock { gap: .5rem; }
  .fab-dock__btn { width: 46px; height: 46px; font-size: 1.15rem; }
}

/* ---------- Scroll reveal ---------- */
html.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0ms);
}
html.js [data-reveal="zoom"] { transform: scale(.94); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
/* Above the fold: animate on load with CSS only (no JS dependency) */
html.js .hero [data-reveal] { opacity: 1; transform: none; transition: none; animation: heroIn .9s var(--ease) both; animation-delay: var(--d, 0ms); }
html.js .hero [data-reveal="zoom"] { animation-name: heroZoomIn; }
@keyframes heroIn { from { opacity: 0; transform: translateY(28px); } }
@keyframes heroZoomIn { from { opacity: 0; transform: scale(.94); } }

/* ==========================================================================
   Asian Paints — authorised dealer showcase
   ========================================================================== */
.ap {
  background:
    radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1.4px) 0 0 / 24px 24px,
    linear-gradient(180deg, #1a1112 0%, #120c0d 100%);
  color: rgba(255, 255, 255, .78); overflow: hidden; isolation: isolate;
}
.ap__glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: -1; }
.ap__glow--red { width: 620px; height: 620px; left: -220px; top: -160px; background: rgba(200, 16, 46, .38); }
.ap__glow--amber { width: 520px; height: 520px; right: -200px; top: 30%; background: rgba(245, 163, 0, .2); }
.ap h2, .ap h3, .ap h4 { color: #fff; }
.ap .section-title em, .ap-range__title em { color: var(--amber); }
.ap-pill {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.25rem;
  padding: .45rem 1rem .45rem .5rem; border-radius: 999px; font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  color: #ffe3a8; background: rgba(245, 163, 0, .1); border: 1px solid rgba(245, 163, 0, .35);
}
.ap-pill i {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem;
  background: linear-gradient(135deg, #ffd25e, var(--amber-600)); color: #3a2300;
}
.ap__title { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.5rem); }
html[lang="ta"] .ap__title { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.6rem); }
.ap__lead { font-size: 1.08rem; max-width: 560px; margin-bottom: 1.75rem; }

.ap-points { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .9rem; }
@media (min-width: 576px) { .ap-points { grid-template-columns: 1fr 1fr; } }
.ap-points li {
  display: flex; gap: .85rem; align-items: flex-start; padding: 1rem; border-radius: 16px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07);
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.ap-points li:hover { background: rgba(255, 255, 255, .07); border-color: rgba(245, 163, 0, .35); transform: translateY(-3px); }
.ap-points__icon {
  flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(140deg, #e0213f, var(--red-700)); color: #fff; font-size: .95rem;
  box-shadow: 0 10px 22px -10px rgba(200, 16, 46, .8);
}
.ap-points strong { display: block; color: #fff; font-size: .95rem; line-height: 1.3; margin-bottom: .2rem; }
.ap-points small { display: block; font-size: .82rem; color: rgba(255, 255, 255, .62); line-height: 1.5; }

/* Collage */
.ap-collage { position: relative; padding: 0 0 3.5rem 2.5rem; max-width: 600px; margin-inline: auto; }
.ap-collage figure { margin: 0; overflow: hidden; }
.ap-collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ap-collage__main {
  aspect-ratio: 4 / 3.4; border-radius: 28px;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08);
}
.ap-collage__main img { transition: transform 1.2s var(--ease); }
.ap-collage:hover .ap-collage__main img { transform: scale(1.04); }
.ap-collage__inset {
  position: absolute; border-radius: 20px; border: 5px solid #1a1112;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8);
}
.ap-collage__inset--a { width: 36%; aspect-ratio: 4 / 5; left: 0; bottom: 0; transform: rotate(-4deg); }
.ap-collage__inset--b { width: 30%; aspect-ratio: 4 / 5; right: -1rem; bottom: 1.25rem; transform: rotate(5deg); }
.ap-seal {
  position: absolute; right: -.5rem; top: -1.5rem; width: 138px; height: 138px;
  border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #ffd977, var(--amber) 55%, #c26f00);
  box-shadow: 0 20px 40px -14px rgba(245, 163, 0, .7), inset 0 0 0 4px rgba(255, 255, 255, .25);
}
.ap-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: sealSpin 22s linear infinite; }
.ap-seal text { font: 600 10.5px/1 var(--font-sans); fill: #3a2300; letter-spacing: .5px; }
.ap-seal__core {
  width: 70px; height: 70px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(140deg, #e0213f, var(--red-700)); color: #fff; line-height: 1;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .35);
}
.ap-seal__core strong { font-family: var(--font-serif); font-size: 1.35rem; }
.ap-seal__core span { font-size: .62rem; margin-top: .2rem; letter-spacing: .06em; text-transform: uppercase; }
html[lang="ta"] .ap-seal__core span { text-transform: none; letter-spacing: 0; font-size: .58rem; }
@keyframes sealSpin { to { transform: rotate(360deg); } }
@media (max-width: 575.98px) {
  .ap-collage { padding: 0 0 2.75rem 1.25rem; }
  .ap-seal { width: 104px; height: 104px; right: -.25rem; top: -1rem; }
  .ap-seal__core { width: 54px; height: 54px; }
  .ap-seal__core strong { font-size: 1.05rem; }
  .ap-collage__inset--b { right: -.25rem; }
}

/* Range cards */
.ap-range { margin-top: clamp(4rem, 3rem + 4vw, 6.5rem); }
.ap-range__title { font-family: var(--font-serif); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); margin: 0; }
html[lang="ta"] .ap-range__title { font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.9rem); }
.ap-range__note { color: rgba(255, 255, 255, .55); font-size: .9rem; max-width: 320px; }
.ap-card {
  position: relative; overflow: hidden; border-radius: 22px; aspect-ratio: 4 / 4.6; height: 100%;
  background: #241819; isolation: isolate;
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .9);
}
.ap-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.ap-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18, 12, 13, 0) 25%, rgba(18, 12, 13, .55) 55%, rgba(18, 12, 13, .95) 100%);
  transition: background .5s;
}
.ap-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--amber)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.ap-card:hover > img { transform: scale(1.08); }
.ap-card:hover::before { background: linear-gradient(180deg, rgba(126, 10, 29, .1) 0%, rgba(80, 8, 20, .6) 45%, rgba(18, 12, 13, .97) 100%); }
.ap-card:hover::after { transform: scaleX(1); }
.ap-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; }
.ap-card__kicker {
  display: inline-flex; align-items: center; gap: .45rem; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: #ffd27a; margin-bottom: .45rem;
}
html[lang="ta"] .ap-card__kicker { text-transform: none; letter-spacing: 0; }
.ap-card h4 { font-family: var(--font-serif); font-size: 1.45rem; margin-bottom: .35rem; }
html[lang="ta"] .ap-card h4 { font-size: 1.2rem; }
.ap-card p {
  font-size: .9rem; color: rgba(255, 255, 255, .78); margin-bottom: .8rem; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ap-card__lines { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.ap-card__lines li {
  font-size: .74rem; font-weight: 500; color: #fff; padding: .22rem .65rem; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px);
}
@media (hover: hover) and (min-width: 992px) {
  .ap-card p { max-height: 0; opacity: 0; margin-bottom: 0; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
  .ap-card:hover p, .ap-card:focus-within p { max-height: 6em; opacity: 1; margin-bottom: .8rem; }
}

/* Colour visualiser */
.viz {
  margin-top: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  display: grid; grid-template-columns: 1fr; border-radius: 28px; overflow: hidden;
  background: var(--cream); color: var(--ink-2);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .9);
}
@media (min-width: 992px) { .viz { grid-template-columns: 1.45fr 1fr; } }
.viz__stage { position: relative; background: #e9e1d6; }
.viz__room { display: block; width: 100%; height: 100%; min-height: 220px; }
.viz__wall { fill: var(--wall, #b3202e); transition: fill .7s var(--ease); }
.viz__chip {
  position: absolute; left: 1rem; top: 1rem; display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); color: var(--ink);
  padding: .4rem .85rem .4rem .45rem; border-radius: 999px; font-size: .82rem; font-weight: 600; box-shadow: var(--shadow-sm);
}
.viz__dot { width: 22px; height: 22px; border-radius: 50%; background: var(--wall, #b3202e); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .08); transition: background .7s; }
.viz__panel { padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); display: flex; flex-direction: column; }
.viz__panel h3 { color: var(--ink); font-family: var(--font-serif); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: .5rem; }
html[lang="ta"] .viz__panel h3 { font-size: clamp(1.25rem, 1.1rem + .8vw, 1.6rem); }
.viz__sub { color: var(--muted); font-size: .95rem; margin-bottom: 1.25rem; }
.viz__swatches { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .6rem; margin-bottom: 1.25rem; }
.viz-sw {
  aspect-ratio: 1; border-radius: 12px; border: 0; padding: 0; position: relative; cursor: pointer;
  background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); transition: transform .25s var(--ease), box-shadow .25s;
}
.viz-sw:hover { transform: translateY(-3px) scale(1.04); }
.viz-sw[aria-checked="true"] { box-shadow: 0 0 0 3px var(--cream), 0 0 0 5px var(--ink); transform: scale(1.04); }
.viz-sw[aria-checked="true"]::after {
  content: "\2713"; position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--tick, #fff); font-weight: 700; font-size: 1rem;
}
.viz__selected { display: flex; align-items: center; gap: .9rem; padding: .85rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); margin-bottom: 1rem; }
.viz__big { width: 52px; height: 52px; border-radius: 14px; flex: none; background: var(--wall, #b3202e); transition: background .7s; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.viz__selected strong { display: block; color: var(--ink); font-size: 1.05rem; }
.viz__selected small { color: var(--muted); font-family: ui-monospace, Consolas, monospace; font-size: .82rem; }
.viz__note { font-size: .78rem; color: var(--muted); margin: .85rem 0 0; }
@media (max-width: 400px) { .viz__swatches { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track, .ap-seal svg { animation: none; }
}
