/* ==========================================================================
   ALOK INDUSTRIES — stylesheet v2
   Manufacturer & exporter of Acid & Direct Dyes, est. 2000, Ahmedabad
   ========================================================================== */

:root{
  --paper:        #F4F2EC;
  --paper-deep:   #EBE7DC;
  --white:        #FFFFFF;
  --ink:          #16191D;
  --ink-soft:     #4A4F55;
  --muted:        #767C82;

  --red:          #D81F2A;
  --red-deep:     #A9141D;
  --blue:         #0090C9;
  --blue-deep:    #006D9B;
  --whatsapp:     #25D366;
  --whatsapp-deep:#1DA851;

  --line:         rgba(22,25,29,0.12);
  --line-soft:    rgba(22,25,29,0.07);

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;

  --gutter: clamp(20px, 4vw, 64px);
  --max: 1280px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg{ display:block; max-width:100%; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p,figure{ margin:0; }
button{ font: inherit; background:none; border:none; }
:focus-visible{ outline: 2px solid var(--blue); outline-offset: 3px; }

.container{ max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
section{ padding-top: clamp(64px,8vw,116px); padding-bottom: clamp(64px,8vw,116px); }

/* ---------- type ---------- */
h1, .h1{ font-family: var(--font-display); font-weight: 600; font-optical-sizing: auto; letter-spacing: -0.01em; line-height: 0.98; font-size: clamp(40px, 6.2vw, 78px); }
h2, .h2{ font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; line-height: 1.08; font-size: clamp(30px, 3.4vw, 46px); }
h3, .h3{ font-family: var(--font-display); font-weight: 600; line-height: 1.2; font-size: clamp(20px, 1.8vw, 24px); }
.lede{ font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--ink-soft); max-width: 56ch; }
.body-copy{ max-width: 62ch; color: var(--ink-soft); font-size: 16px; }
.body-copy p + p{ margin-top: 1.15em; }
.kicker{ font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--red); }
.kicker.blue{ color: var(--blue); }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 28px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn-primary{ background: var(--red); color: var(--paper); }
.btn-primary:hover{ background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(216,31,42,.55); }
.btn-outline{ background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover{ border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.btn-outline.on-ink{ border-color: rgba(244,242,236,0.28); color: var(--paper); }
.btn-outline.on-ink:hover{ border-color: var(--paper); color: var(--paper); }
.btn-whatsapp{ background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover{ background: var(--whatsapp-deep); transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(37,211,102,.6); }
.btn-sm{ padding: 10px 20px; font-size: 13.5px; }
.btn svg{ width: 17px; height: 17px; flex-shrink:0; }

/* ---------- utility bar ---------- */
.utility-bar{ background: var(--ink); color: rgba(244,242,236,0.65); font-size: 13px; }
.utility-bar .container{ display:flex; align-items:center; justify-content:space-between; height: 40px; gap: 18px; }
.utility-bar__links{ display:flex; align-items:center; gap: 22px; }
.utility-bar a{ display:flex; align-items:center; gap:6px; transition: color .2s var(--ease); }
.utility-bar a:hover{ color: var(--paper); }
.utility-bar .whatsapp-link{ color: #7BE3A8; }
.utility-bar .whatsapp-link:hover{ color: var(--whatsapp); }
.utility-bar__tag{ color: rgba(244,242,236,0.5); }
.utility-bar__tag b{ color: var(--paper); font-weight: 500; }
@media (max-width: 760px){ .utility-bar__tag{ display:none; } }

/* ---------- nav ---------- */
.nav{ background: rgba(244,242,236,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; position: sticky; top:0; z-index: 90; transition: box-shadow .3s var(--ease), border-color .3s var(--ease); }
.nav .container{ display:flex; align-items:center; justify-content:space-between; height: 82px; transition: height .3s var(--ease); }
.nav.is-scrolled{ border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(22,25,29,.4); }
.nav.is-scrolled .container{ height: 68px; }
@media (max-width: 900px){ .nav.is-scrolled .container{ height: 76px; } }
.brand{ display:flex; align-items:center; gap:10px; }
.brand svg{ width: 34px; height: 34px; flex-shrink:0; }
.brand__logo{ height:40px; width:auto; display:block; flex-shrink:0; }
.brand__tagline{ font-family: var(--font-body); font-weight:500; font-size:11px; letter-spacing:.01em; color: var(--muted); padding-top:6px; border-left:1px solid var(--line); padding-left:12px; line-height:1.3; max-width:80px; }
@media (max-width:520px){ .brand__tagline{ display:none; } }

.nav__links{ display:flex; align-items:center; gap: 36px; }
.nav__links a{ font-size: 15px; font-weight: 500; padding: 8px 0; position: relative; color: var(--ink-soft); }
.nav__links a::after{ content:''; position:absolute; left:0; right:0; bottom:0; height:2px; background: var(--red); transform: scaleX(0); transform-origin:left; transition: transform .3s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after{ transform: scaleX(1); }
.nav__links a[aria-current="page"]{ color: var(--red); }

.nav__right{ display:flex; align-items:center; gap:14px; }
.nav__wa{ display:flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:50%; background: rgba(37,211,102,0.12); color: var(--whatsapp-deep); transition: background .2s var(--ease), transform .2s var(--ease); }
.nav__wa:hover{ background: var(--whatsapp); color:#fff; transform: scale(1.06); }
.nav__wa svg{ width:19px; height:19px; }
.nav__toggle{ display:none; width: 40px; height:40px; align-items:center; justify-content:center; cursor:pointer; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after{ content:''; display:block; width:20px; height:2px; background: var(--ink); position:relative; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.nav__toggle span::before{ position:absolute; top:-6px; }
.nav__toggle span::after{ position:absolute; top:6px; }
@media (max-width: 900px){
  .nav__links{ position:fixed; top:0; right:0; height:100vh; width:min(320px,84vw); background: var(--paper); flex-direction:column; align-items:flex-start; justify-content:center; gap:8px; padding: 0 40px; transform: translateX(100%); transition: transform .35s var(--ease); box-shadow: -20px 0 50px -30px rgba(0,0,0,.3); }
  .nav__links.is-open{ transform: translateX(0); }
  .nav__links a{ font-size: 22px; font-family: var(--font-display); padding: 12px 0; }
  .nav__toggle{ display:flex; }
  body.menu-open{ overflow:hidden; }
}

/* ---------- hero ---------- */
.hero{ position:relative; color: var(--paper); padding-top: clamp(64px,9vw,116px); padding-bottom: clamp(64px,9vw,116px); overflow:hidden; isolation:isolate; }
.hero__bg{ position:absolute; inset:0; z-index:-1; }
.hero__bg img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transform: scale(1.02); animation: bloom-drift 22s var(--ease) infinite alternate; }
.hero__bg::after{ content:''; position:absolute; inset:0; background: rgba(22,25,29,.72); }
@keyframes bloom-drift{ from{ transform: scale(1.02); } to{ transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce){ .hero__bg img{ animation: none; } }
.hero .container{ max-width: 700px; text-align:center; }
.hero h1{ margin-top: 18px; color: var(--paper); }
.hero .lede{ margin-top: 22px; color: rgba(244,242,236,.78); margin-left:auto; margin-right:auto; }
.hero__ctas{ display:flex; gap:14px; margin-top: 38px; flex-wrap:wrap; justify-content:center; }
.hero__categories{ display:flex; flex-wrap:wrap; gap:8px; margin-top: 22px; justify-content:center; }
.hero__categories a{
  font-family: var(--font-mono); font-size:12px; letter-spacing:.04em; text-transform:uppercase;
  color: rgba(244,242,236,.82); background: rgba(244,242,236,.08); border:1px solid rgba(244,242,236,.22);
  padding:7px 13px; border-radius:999px; text-decoration:none; transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.hero__categories a:hover{ background: var(--paper); border-color: var(--paper); color: var(--ink); }

/* ---------- stats band (full width) ---------- */
.stats-band{ background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0; }
.stat-strip{ display:grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.stat-strip > div{ padding: clamp(36px,5vw,56px) clamp(20px,3vw,40px); border-right: 1px solid var(--line); transition: background .25s var(--ease); }
.stat-strip > div:last-child{ border-right:0; }
.stat-strip > div:hover{ background: rgba(22,25,29,.02); }
.stat-strip b{ display:block; font-family: var(--font-display); font-weight:600; font-size: clamp(32px,3.6vw,46px); letter-spacing:-0.01em; }
.stat-strip > div > span{ display:block; font-size: 14px; color: var(--muted); margin-top: 10px; line-height:1.45; max-width: 26ch; }
@media (max-width: 760px){
  .stat-strip{ grid-template-columns: repeat(2,1fr); }
  .stat-strip > div:nth-child(2n){ border-right:0; }
  .stat-strip > div{ border-bottom: 1px solid var(--line); }
  .stat-strip > div:nth-last-child(-n+2){ border-bottom:0; }
}
@media (max-width: 520px){
  .stat-strip{ grid-template-columns: 1fr; }
  .stat-strip > div{ border-right:0; border-bottom: 1px solid var(--line); text-align:left; }
  .stat-strip > div:last-child{ border-bottom:0; }
}

/* ---------- responsive two-column grid (replaces inline grid styles) ---------- */
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.two-col.is-top{ align-items:start; }
.two-col.is-sidebar{ grid-template-columns:0.85fr 1.15fr; }
@media (max-width:860px){
  .two-col{ grid-template-columns:1fr !important; gap:32px; }
}

/* ---------- section head ---------- */
.section-head{ display:flex; justify-content:space-between; align-items:flex-end; gap: 32px; margin-bottom: clamp(32px,4vw,52px); flex-wrap:wrap; }
.section-head h2{ margin-top: 10px; max-width: 16ch; }

/* ---------- about ---------- */
.about-grid{ display:grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px,5vw,64px); align-items:center; }
.about-grid figure{ border-radius: 18px; overflow:hidden; aspect-ratio: 4/5; }
.about-grid img{ width:100%; height:100%; object-fit:cover; transition: transform .7s var(--ease); }
.about-grid figure:hover img{ transform: scale(1.05); }

/* ---------- about image carousel ---------- */
.hero-carousel{ position:relative; }
.hero-carousel__track{ position:relative; width:100%; height:100%; }
.hero-carousel__track img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; z-index:1; transition: opacity 1s var(--ease), transform .7s var(--ease); }
.hero-carousel__track img.is-active{ opacity:1; z-index:2; }
.hero-carousel__dots{ position:absolute; left:50%; bottom:16px; transform:translateX(-50%); display:flex; gap:8px; z-index:3; }
.hero-carousel__dots button{ width:9px; height:9px; border-radius:50%; border:1.5px solid rgba(244,242,236,.85); background:rgba(244,242,236,.35); padding:0; cursor:pointer; transition: background .25s var(--ease), transform .25s var(--ease); }
.hero-carousel__dots button.is-active{ background:var(--paper); transform:scale(1.15); }
@media (max-width: 860px){ .about-grid{ grid-template-columns:1fr; } .about-grid figure{ order:-1; aspect-ratio: 16/10; } }

.trait-list{ display:flex; flex-wrap:wrap; gap: 10px; margin-top: 28px; }
.trait{ font-size: 13.5px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease); }
.trait:hover{ border-color: var(--red); background: rgba(216,31,42,.05); transform: translateY(-2px); }

/* ---------- product bands ---------- */
.product-band{ display:grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,72px); align-items:center; }
.product-band + .product-band{ margin-top: clamp(56px,7vw,96px); }
.product-band figure{ border-radius: 18px; overflow:hidden; aspect-ratio: 5/4; }
.product-band img{ width:100%; height:100%; object-fit:cover; transition: transform .7s var(--ease); }
.product-band figure:hover img{ transform: scale(1.06); }
.product-band.is-reversed figure{ order: 2; }
.product-band__num{ font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.product-band__num.is-red{ color: var(--red); }
.product-band__num.is-blue{ color: var(--blue); }
.product-band h3{ margin-top: 12px; font-size: clamp(24px,2.4vw,32px); }
.product-band p{ margin-top: 14px; color: var(--ink-soft); max-width: 46ch; }
.product-band__links{ display:flex; gap:20px; align-items:center; margin-top: 22px; flex-wrap:wrap; }
.text-link{ display:inline-flex; align-items:center; gap:8px; font-weight:600; font-size:14.5px; position:relative; }
.text-link::after{ content:''; position:absolute; left:0; right:0; bottom:-3px; height:1.5px; background: currentColor; transform: scaleX(0); transform-origin:left; transition: transform .25s var(--ease); }
.text-link:hover::after{ transform: scaleX(1); }
.text-link.wa{ color: var(--whatsapp-deep); }
@media (max-width: 860px){ .product-band{ grid-template-columns:1fr; } .product-band.is-reversed figure{ order:-1; } .product-band figure{ aspect-ratio:16/10; } }

/* ---------- applications (on-ink) ---------- */
.on-ink{ background: var(--ink); color: var(--paper); position: relative; overflow:hidden; }
.on-ink .muted{ color: rgba(244,242,236,.6); }
.app-row{ display:grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(244,242,236,.12); border-radius: 16px; overflow:hidden; margin-top: 8px; }
.app-cell{ background: var(--ink); padding: 30px 22px; transition: background .25s var(--ease); }
.app-cell:hover{ background: #20242A; }
.app-cell b{ display:block; font-family: var(--font-display); font-size: 19px; font-weight:600; }
.app-cell span{ display:block; font-size: 13px; color: rgba(244,242,236,.55); margin-top: 6px; }
@media (max-width: 860px){ .app-row{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 500px){ .app-row{ grid-template-columns: 1fr; } }

/* ---------- why us ---------- */
.reason-list{ border-top: 1px solid var(--line); }
.reason{ display:grid; grid-template-columns: 1fr 2fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); transition: background .2s var(--ease); }
.reason:hover{ background: rgba(22,25,29,.025); }
.reason h3{ font-size: clamp(19px,1.8vw,23px); }
.reason p{ color: var(--ink-soft); max-width: 52ch; }
@media (max-width: 700px){ .reason{ grid-template-columns: 1fr; gap:8px; } }

/* ---------- whatsapp band ---------- */
.wa-band{ background: linear-gradient(135deg, #0C3B24, #14261C 60%); color: #fff; border-radius: 24px; padding: clamp(36px,5vw,64px); display:flex; align-items:center; justify-content:space-between; gap: 32px; flex-wrap:wrap; position:relative; overflow:hidden; }
.wa-band::before{ content:''; position:absolute; width: 420px; height:420px; border-radius:50%; background: radial-gradient(circle, rgba(37,211,102,.28), transparent 70%); top:-140px; right:-100px; }
.wa-band__text{ position:relative; z-index:1; max-width: 44ch; }
.wa-band h2{ color:#fff; }
.wa-band p{ color: rgba(255,255,255,.72); margin-top: 12px; }
.wa-band__cta{ position:relative; z-index:1; }

/* ---------- certifications ---------- */
.cert-row{ display:flex; flex-wrap:wrap; gap: 12px; margin-top: 18px; }
.cert{ display:flex; align-items:center; gap:8px; font-size: 13.5px; padding: 10px 16px; border:1px solid var(--line); border-radius: 999px; color: var(--ink-soft); }
.cert svg{ width:15px; height:15px; color: var(--red); flex-shrink:0; }

/* ---------- certification logo badges ---------- */
.cert-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(148px,1fr)); gap:14px; margin-top:20px; }
.cert-badge{ display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:10px; padding:28px 18px; border:1px solid var(--line); border-radius:16px; background:var(--white); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.cert-badge:hover{ transform:translateY(-4px); box-shadow: 0 20px 38px -28px rgba(22,25,29,.32); border-color: rgba(22,25,29,.2); }
.cert-badge__mark{ width:44px; height:44px; color:var(--red); }
.cert-badge__name{ font-family:var(--font-body); font-weight:700; font-size:14.5px; letter-spacing:.02em; color:var(--ink); }
.cert-badge__sub{ font-family:var(--font-mono); font-size:11px; letter-spacing:.02em; color:var(--muted); text-transform:uppercase; }
.cert-badge--dark{ background:rgba(244,242,236,.06); border-color:rgba(244,242,236,.16); }
.cert-badge--dark:hover{ border-color:rgba(244,242,236,.32); box-shadow: 0 20px 38px -28px rgba(0,0,0,.5); }
.cert-badge--dark .cert-badge__mark{ color:var(--paper); }
.cert-badge--dark .cert-badge__name{ color:var(--paper); }
.cert-badge--dark .cert-badge__sub{ color:rgba(244,242,236,.55); }

/* ---------- final cta ---------- */
.cta-band{ background: var(--ink); color: var(--paper); border-radius: 24px; display:flex; align-items:center; justify-content:space-between; gap: 28px; flex-wrap:wrap; padding: 56px var(--gutter); }
.cta-band .container{ padding: 0; }
.cta-band h2{ color: var(--paper); max-width: 14ch; }
.cta-band__ctas{ display:flex; gap:14px; flex-wrap:wrap; }
.cta-section{ padding-top: clamp(28px,4vw,48px) !important; }
@media (max-width: 640px){ .cta-band{ padding: 40px var(--gutter); } .cta-band__ctas{ width:100%; } .cta-band__ctas .btn{ flex:1; justify-content:center; } }

/* ---------- footer ---------- */
.site-footer{ background: var(--paper-deep); padding-top: clamp(56px,7vw,88px); }
.footer-grid{ display:grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p{ margin-top: 18px; color: var(--ink-soft); max-width: 34ch; font-size: 14.5px; }
.footer-col h4{ font-family: var(--font-body); font-weight: 600; font-size: 14px; margin-bottom: 16px; }
.footer-col ul{ display:flex; flex-direction:column; gap:11px; }
.footer-col a{ font-size: 14.5px; color: var(--ink-soft); transition: color .2s var(--ease); }
.footer-col a:hover{ color: var(--ink); }
.footer-col .whatsapp-link:hover{ color: var(--whatsapp-deep); }
@media (max-width: 860px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px){ .footer-grid{ grid-template-columns: 1fr; } }

.social-row{ display:flex; gap: 10px; margin-top: 20px; }
.social-row a{ display:flex; align-items:center; justify-content:center; width: 38px; height:38px; border-radius:50%; border: 1px solid var(--line); color: var(--ink-soft); transition: all .2s var(--ease); }
.social-row a:hover{ background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-2px); }
.social-row svg{ width:16px; height:16px; }

.divider{ border:0; border-top: 1px solid var(--line); margin: 40px 0 0; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap: 10px; padding: 24px 0 28px; font-size: 13px; color: var(--muted); }

/* ---------- floating whatsapp button ---------- */
.wa-float{ position: fixed; right: 22px; bottom: 22px; z-index: 95; display:flex; align-items:center; }
.wa-float__btn{ width: 58px; height:58px; border-radius:50%; background: var(--whatsapp); color:#fff; display:flex; align-items:center; justify-content:center; box-shadow: 0 16px 32px -14px rgba(37,211,102,.65); transition: transform .25s var(--ease), box-shadow .25s var(--ease); position:relative; }
.wa-float__btn svg{ width:29px; height:29px; }
.wa-float__btn:hover{ transform: scale(1.08); box-shadow: 0 20px 38px -14px rgba(37,211,102,.75); }
.wa-float__ring{ position:absolute; inset:0; border-radius:50%; border: 2px solid var(--whatsapp); animation: wa-ping 2.6s ease-out infinite; }
@keyframes wa-ping{ 0%{ transform:scale(1); opacity:.7; } 100%{ transform:scale(1.9); opacity:0; } }
.wa-float__tip{ position:absolute; right: 68px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; font-size: 13px; white-space:nowrap; opacity:0; transform: translateX(6px); transition: opacity .2s var(--ease), transform .2s var(--ease); pointer-events:none; }
.wa-float:hover .wa-float__tip{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .wa-float__ring{ animation:none; } }
@media (max-width: 600px){ .wa-float{ right:16px; bottom:16px; } .wa-float__btn{ width:52px; height:52px; } .wa-float__btn svg{ width:26px; height:26px; } .wa-float__tip{ display:none; } }

/* ---------- hero load-in (single orchestrated moment) ---------- */
.load-in > *{ opacity:0; transform: translateY(16px); animation: load-in .7s var(--ease) forwards; }
.load-in > *:nth-child(1){ animation-delay: .05s; }
.load-in > *:nth-child(2){ animation-delay: .15s; }
.load-in > *:nth-child(3){ animation-delay: .25s; }
.load-in > *:nth-child(4){ animation-delay: .35s; }
@keyframes load-in{ to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){ .load-in > *{ opacity:1; transform:none; animation:none; } }

/* ---------- inner page hero ---------- */
.page-hero{ background: #212C3B; color: var(--paper); padding-top: clamp(56px,7vw,92px); padding-bottom: clamp(56px,7vw,92px); }
.page-hero__crumb{ display:flex; align-items:center; gap:8px; font-size:13px; color: rgba(244,242,236,.5); margin-bottom:20px; }
.page-hero__crumb a{ color: rgba(244,242,236,.78); transition: color .2s var(--ease); }
.page-hero__crumb a:hover{ color: var(--paper); }
.page-hero__crumb .sep{ color: rgba(244,242,236,.3); }
.page-hero h1{ color: var(--paper); margin-top:14px; font-size: clamp(36px,5vw,60px); }
.page-hero .lede{ color: rgba(244,242,236,.68); margin-top:20px; max-width:60ch; }
.page-hero__meta{ display:grid; grid-template-columns: repeat(4,1fr); gap: 32px; margin-top:44px; padding-top:36px; border-top:1px solid rgba(244,242,236,.14); }
.page-hero__meta div{ display:flex; flex-direction:column; gap:6px; }
.page-hero__meta b{ font-family: var(--font-display); font-weight:600; font-size: clamp(22px,2.4vw,30px); letter-spacing:-0.01em; }
.page-hero__meta div{ font-size:13px; color: rgba(244,242,236,.55); }
@media (max-width:760px){ .page-hero__meta{ grid-template-columns: repeat(2,1fr); } }

/* ---------- card grid ---------- */
.card-grid{ display:grid; gap:24px; margin-top:8px; }
.card-grid .card{ scroll-margin-top: 96px; }
.card-grid.cols-2{ grid-template-columns: repeat(2,1fr); }
.card-grid.cols-3{ grid-template-columns: repeat(3,1fr); }
.card-grid.cols-4{ grid-template-columns: repeat(4,1fr); }
.card-grid.cols-8{ grid-template-columns: repeat(4,1fr); }
@media (max-width:860px){ .card-grid.cols-3, .card-grid.cols-4, .card-grid.cols-8{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:560px){ .card-grid, .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4, .card-grid.cols-8{ grid-template-columns: 1fr; } }

.card{ background: var(--white); border:1px solid var(--line); border-radius:16px; padding:18px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover{ transform: translateY(-4px); box-shadow: 0 22px 42px -30px rgba(22,25,29,.28); }
.card img{ width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; border-radius:10px; margin-bottom:14px; }
.card h3{ margin-top:2px; }
.card p{ margin-top:10px; color: var(--ink-soft); font-size:14.5px; }
.card .kicker{ display:block; margin-bottom:14px; }
.card .icon{ width:52px; height:52px; border-radius:50%; background: rgba(216,31,42,.08); display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.card.whatsapp-card .icon{ background: rgba(37,211,102,.12); }

/* ---------- swatchboard ---------- */
.swatchboard{ display:grid; grid-template-columns: repeat(9,1fr); gap:8px; margin-top:20px; }
.swatch{ position:relative; aspect-ratio:1/1; border-radius:8px; transition: transform .2s var(--ease); }
.swatch:hover{ transform: scale(1.1); z-index:2; }
.swatch::after{ content: attr(data-tip); position:absolute; bottom:calc(100% + 9px); left:50%; transform: translateX(-50%); background: var(--ink); color: var(--paper); font-size:11.5px; padding:5px 10px; border-radius:6px; white-space:nowrap; opacity:0; pointer-events:none; transition: opacity .2s var(--ease); }
.swatch:hover::after{ opacity:1; }
@media (max-width:760px){ .swatchboard{ grid-template-columns: repeat(6,1fr); } }
@media (max-width:480px){ .swatchboard{ grid-template-columns: repeat(4,1fr); } }

/* ---------- scrollable image carousel ---------- */
.pic-carousel{ position:relative; border-radius:18px; overflow:hidden; }
.pic-carousel__track{
  display:flex;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  border-radius:18px;
}
.pic-carousel__track::-webkit-scrollbar{ display:none; }
.pic-carousel__track{ scrollbar-width:none; -ms-overflow-style:none; }
.pic-carousel__slide{
  flex:0 0 100%;
  scroll-snap-align:start;
  aspect-ratio:21/9;
  margin:0;
}
.pic-carousel__slide img{ width:100%; height:100%; object-fit:cover; display:block; }
.pic-carousel__btn{
  position:absolute; top:50%; transform:translateY(-50%);
  width:40px; height:40px; border-radius:50%; border:none;
  background:rgba(20,22,26,.55); color:#fff; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s var(--ease), opacity .2s var(--ease);
  z-index:2;
}
.pic-carousel__btn:hover{ background:rgba(20,22,26,.8); }
.pic-carousel__btn svg{ width:20px; height:20px; }
.pic-carousel__btn--prev{ left:14px; }
.pic-carousel__btn--next{ right:14px; }
.pic-carousel__dots{
  position:absolute; left:50%; bottom:14px; transform:translateX(-50%);
  display:flex; gap:7px; z-index:2;
}
.pic-carousel__dots button{
  width:7px; height:7px; border-radius:50%; border:none; padding:0;
  background:rgba(255,255,255,.5); cursor:pointer; transition:background .2s var(--ease), transform .2s var(--ease);
}
.pic-carousel__dots button.is-active{ background:#fff; transform:scale(1.25); }
@media (max-width:640px){
  .pic-carousel__btn{ width:34px; height:34px; }
}

/* ---------- product table ---------- */
.product-table-wrap{ overflow-x:auto; border:1px solid var(--line); border-radius:14px; margin-top:8px; position:relative; }
.product-table{ width:100%; table-layout:fixed; border-collapse:collapse; font-size:14px; min-width:580px; }
.product-table th{ text-align:left; padding:14px 18px; background: var(--paper-deep); font-weight:600; font-size:12px; text-transform:uppercase; letter-spacing:.04em; color: var(--ink-soft); }
.product-table td{ padding:12px 18px; border-top:1px solid var(--line); color: var(--ink-soft); overflow-wrap:break-word; }
.product-table td.is-placeholder{ color: var(--muted); font-style:italic; }
.product-table tr.is-hidden{ display:none; }
.product-table tbody tr:hover td{ background: rgba(22,25,29,.025); }

/* 4-column layout: Product name | C.I. generic name | 2% Shade | 4% Shade */
.product-table--colour th:nth-child(1), .product-table--colour td:nth-child(1){ width:38%; }
.product-table--colour th:nth-child(2), .product-table--colour td:nth-child(2){ width:auto; }
.product-table--colour th:nth-child(3), .product-table--colour td:nth-child(3){ width:106px; text-align:center; }
.product-table--colour th:nth-child(4), .product-table--colour td:nth-child(4){ width:106px; text-align:center; }
.product-table__group{ font-family: var(--font-mono); font-size:12.5px; color: var(--muted); }

@media (max-width:640px){
  .product-table{ font-size:13px; min-width:460px; }
  .product-table th, .product-table td{ padding:11px 12px; }
  .product-table--colour th:nth-child(1), .product-table--colour td:nth-child(1){ width:36%; }
  .product-table--colour th:nth-child(3), .product-table--colour td:nth-child(3){ width:82px; }
  .product-table--colour th:nth-child(4), .product-table--colour td:nth-child(4){ width:82px; }
}

/* inline sample-shade chips — dropped next to the word "swatch" in body copy */
.shade-sample{ display:inline-flex; gap:3px; vertical-align:middle; margin:0 3px; transform:translateY(-1px); }
.shade-sample span{ width:13px; height:13px; border-radius:4px; background:var(--c); box-shadow: inset 0 0 0 1px rgba(22,25,29,.16); }
.shade-sample--on-ink span{ box-shadow: inset 0 0 0 1px rgba(244,242,236,.28); }

/* colour swatch — bigger rectangle so the shade actually reads, glows in its own shade on hover */
.colour-dot{
  --w: 68px;
  --h: 34px;
  display:inline-block;
  width:var(--w); height:var(--h);
  border-radius:6px;
  background: var(--c, var(--muted));
  box-shadow: inset 0 0 0 1px rgba(22,25,29,.14), 0 1px 2px rgba(22,25,29,.10);
  vertical-align:middle;
  position:relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.colour-dot::after{
  content:"";
  position:absolute;
  inset:-4px;
  border-radius:9px;
  box-shadow: 0 0 0 1.5px var(--c, var(--muted));
  opacity:0;
  transform: scale(.94);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.product-table--colour tbody tr:hover .colour-dot,
.colour-group__title:hover .colour-dot{
  transform: scale(1.35);
  z-index: 3;
  box-shadow: inset 0 0 0 1px rgba(22,25,29,.16), 0 6px 16px -4px var(--c, rgba(22,25,29,.3));
}
.product-table--colour tbody tr:hover .colour-dot::after,
.colour-group__title:hover .colour-dot::after{
  opacity:.45;
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce){
  .colour-dot, .colour-dot::after{ transition:none; }
}
@media (max-width:640px){
  .colour-dot{ --w:52px; --h:28px; }
}
.colour-group__title{
  display:flex; align-items:baseline; flex-wrap:wrap; gap:11px;
  position:relative; padding-bottom:14px; margin-bottom:2px;
}
.colour-group__kind{
  font-family: var(--font-display); font-style:italic; font-weight:500;
  font-size:clamp(26px,2.6vw,32px); letter-spacing:-0.01em; line-height:1;
  color: var(--c-soft, var(--muted));
}
.colour-group__hue{
  font-family: var(--font-display); font-weight:600; font-style:normal;
  font-size:clamp(26px,2.6vw,32px); letter-spacing:-0.01em; line-height:1;
  color: var(--c, var(--ink));
}
.colour-group__title::after{
  content:""; position:absolute; left:0; bottom:0;
  width:42px; height:3px; border-radius:3px;
  background: var(--c, var(--ink)); opacity:.55;
}
.colour-group__title .product-list-group__count{ align-self:center; }
@media (max-width:640px){
  .colour-group__kind, .colour-group__hue{ font-size:22px; }
}
.colour-group.is-hidden{ display:none; }

/* ---------- product search + grouped lists ---------- */
.product-search{ display:flex; align-items:center; gap:10px; border:1px solid var(--line); border-radius:12px; padding:13px 18px; margin-top:26px; max-width:520px; color: var(--muted); background: var(--paper-deep); transition: border-color .2s var(--ease); }
.product-search:focus-within{ border-color: var(--ink); }
.product-search input{ border:0; background:transparent; outline:none; font-family: var(--font-body); font-size:14.5px; color: var(--ink); width:100%; }
.product-search input::placeholder{ color: var(--muted); }
.product-list-group__title{ display:flex; align-items:baseline; gap:8px; font-family: var(--font-body); font-weight:600; font-size:15px; letter-spacing:.01em; color: var(--ink); margin-top:36px; }
.product-list-group__count{ font-family: var(--font-mono); font-weight:400; font-size:12.5px; color: var(--muted); }
.product-list-group.is-hidden{ display:none; }

/* ---------- placeholder / info blocks ---------- */
.placeholder-block{ border:1px dashed var(--line); border-radius:14px; padding:22px; font-size:14px; color: var(--ink-soft); background: rgba(22,25,29,.02); }
.on-ink .placeholder-block{ border-color: rgba(244,242,236,.22); color: rgba(244,242,236,.65); background: rgba(244,242,236,.04); }
.info-block{ border:1px solid var(--line); border-radius:14px; padding:22px; font-size:15px; line-height:1.7; color: var(--ink-soft); background: var(--white); }
.info-block strong{ display:block; margin-bottom:8px; font-family: var(--font-mono); font-size:12px; letter-spacing:.03em; color: var(--muted); font-weight:500; }

/* ---------- map ---------- */
.map-frame{ border:1px solid var(--line); border-radius:16px; overflow:hidden; aspect-ratio:4/3; }
.map-frame iframe{ display:block; }

.muted{ color: var(--muted); }

/* ---------- misc ---------- */
.skip-link{ position:absolute; left:-9999px; top:0; background:var(--ink); color:var(--paper); padding:12px 18px; z-index:200; }
.skip-link:focus{ left: var(--gutter); top: 8px; }

.to-top{ position: fixed; right: 22px; bottom: 92px; width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--ink); border: 1px solid var(--line); display:flex; align-items:center; justify-content:center; cursor:pointer; opacity:0; transform: translateY(10px); pointer-events:none; transition: opacity .25s var(--ease), transform .25s var(--ease); z-index: 90; box-shadow: 0 10px 24px -14px rgba(0,0,0,.25); }
.to-top.is-visible{ opacity:1; transform:none; pointer-events:auto; }
.to-top:hover{ background: var(--ink); color: var(--paper); }
.to-top svg{ width:17px; height:17px; }
@media (max-width: 600px){ .to-top{ display:none; } }

body.page-leaving{ opacity:0; transition: opacity .18s var(--ease); }
@media (prefers-reduced-motion: reduce){ body.page-leaving{ opacity:1; transition:none; } }

/* --- SEO/perf: <picture> must not create a box, so existing img layout rules keep applying --- */
picture{ display: contents; }

/* --- FAQ --- */
.faq-section{ background: var(--white, #fff); }
.faq-list{ margin-top: 28px; border-top: 1px solid rgba(0,0,0,.10); }
.faq-item{ border-bottom: 1px solid rgba(0,0,0,.10); }
.faq-item > summary{ list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; }
.faq-item > summary::-webkit-details-marker{ display: none; }
.faq-item > summary h3{ margin: 0; font-size: clamp(16px, 2.1vw, 19px); line-height: 1.4; }
.faq-item > summary::after{
  content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg); transition: transform .28s ease; opacity: .55;
}
.faq-item[open] > summary::after{ transform: translateY(-30%) rotate(225deg); opacity: .9; }
.faq-item > p{ margin: 0 0 22px; max-width: 72ch; opacity: .82; line-height: 1.7; }
.faq-item > summary:focus-visible{ outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce){ .faq-item > summary::after{ transition: none; } }

/* --- CLS guard for remote images that have no intrinsic width/height attributes --- */
.product-band figure img[src^="https://"]{ aspect-ratio: 16 / 10; }
.card img[src^="https://"]{ aspect-ratio: 4 / 3; }

/* --- footer credit line --- */
.footer-bottom__left{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.footer-bottom__credit{ opacity:.75; }
.footer-bottom__credit a{ color:inherit; text-decoration:underline; text-decoration-color:currentColor; text-underline-offset:2px; opacity:.9; }
.footer-bottom__credit a:hover{ opacity:1; }
@media (max-width: 640px){
  .footer-bottom{ justify-content:center; text-align:center; }
  .footer-bottom__left{ justify-content:center; }
}
