/* ==========================================================================
   Isomalt India, stylesheet
   Palette: #F8F1E8 cream bg · #F4E9DB alt bg · #2E2A27 ink · #6B5B52 muted
            #C75B3A terracotta accent · #E0794E light accent
   Fonts:   Barlow (300/400/500/600) · Instrument Serif (italic display)
            Self-hosted in assets/fonts/, no external requests.
   Note:    component-level styles are inline in index.html; this file holds
            fonts, resets, keyframes, hover states and responsive rules.
   ========================================================================== */

/* ---------- Self-hosted fonts ---------- */
/* vietnamese */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/barlow-300-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/barlow-300-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/barlow-300-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/barlow-400-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/barlow-400-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/barlow-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/barlow-500-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/barlow-500-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/barlow-500-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/barlow-600-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/barlow-600-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/barlow-600-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Site styles ---------- */
html { scroll-behavior: smooth; }
    html, body { margin: 0; padding: 0; background: #F8F1E8; }
    body { -webkit-font-smoothing: antialiased; }
    section[id], footer { scroll-margin-top: 92px; }
    p { text-wrap: pretty; }
    h1, h2, h3 { text-wrap: balance; }
    ::selection { background: rgba(199,91,58,0.22); }
    a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #C75B3A; outline-offset: 3px; }
    #cin-nav-center a { transition: background 0.25s ease, color 0.25s ease; }
    #cin-nav-center a:hover { background: rgba(199,91,58,0.08); }
    summary { transition: color 0.25s ease; }
    summary:hover { color: #C75B3A !important; }
    summary::marker { color: #C75B3A; }
    #cin-cut-grid .lg { transition: transform 0.35s cubic-bezier(0.22,1,0.36,1); }
    #cin-cut-grid .lg:hover { transform: translateY(-4px); }
    [data-indrow] > div:last-child { overflow: hidden; border-radius: 20px; }
    [data-indrow] img { transition: transform 0.6s cubic-bezier(0.22,1,0.36,1); }
    [data-indrow]:hover img { transform: scale(1.03); }
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
    body { font-family: 'Barlow', sans-serif; color: #2E2A27; }
    a { color: rgba(46,42,39,0.8); text-decoration: none; }
    a:hover { color: #C75B3A; }
    .lg { background: rgba(255,253,249,0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: none; box-shadow: inset 0 1px 1px rgba(255,255,255,0.85), 0 10px 30px -18px rgba(46,42,39,0.25); position: relative; overflow: hidden; }
    .lg::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.2px; background: rgba(199,91,58,0.38); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
    .lgs { background: rgba(255,253,249,0.7); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: none; box-shadow: 4px 4px 16px rgba(46,42,39,0.08), inset 0 1px 1px rgba(255,255,255,0.9); position: relative; overflow: hidden; }
    .lgs::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.2px; background: rgba(199,91,58,0.42); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
    @keyframes cinWord { 0% { filter: blur(10px); opacity: 0; transform: translateY(50px); } 50% { filter: blur(5px); opacity: 0.5; transform: translateY(-5px); } 100% { filter: blur(0px); opacity: 1; transform: translateY(0px); } }
    @keyframes cinUp { 0% { filter: blur(10px); opacity: 0; transform: translateY(20px); } 100% { filter: blur(0px); opacity: 1; transform: translateY(0px); } }
    @keyframes cinOrbFloat { 0%, 100% { transform: translateY(0px) rotate(-1.6deg) scale(1); } 50% { transform: translateY(-16px) rotate(1.6deg) scale(1.02); } }
    @keyframes cinLdIn { 0% { opacity: 0; transform: translateY(14px); } 100% { opacity: 1; transform: translateY(0px); } }
    @keyframes cinLdSpin { to { transform: rotate(360deg); } }
    #cin-loader-ring { transition: stroke-dashoffset 0.2s linear; }
    @media (prefers-reduced-motion: reduce) { #cin-loader, #cin-loader * { animation: none !important; transition: none !important; } }
    @keyframes cinKen { 0% { transform: translate(-50%,-50%) scale(1); } 100% { transform: translate(-50%,-50%) scale(1.14); } }
    @keyframes cinHeroZoom { 0% { transform: scale(1); } 100% { transform: scale(1.08); } }
    @keyframes cinHeroKen { 0% { transform: translate(-50%,-50%) scale(1); } 100% { transform: translate(-50%,-50%) scale(1.12); } }
    [data-indname] { cursor: default; }
    #cin-caps:hover #cin-flute { opacity: 0 !important; }
    /* Lollipop backdrop: cinematic dolly, slow push-in with a light-sweep, no wobble */
    @keyframes cinCapsDolly {
      0%   { transform: translate(-50%,-50%) scale(1.0); filter: saturate(1) brightness(1); }
      45%  { transform: translate(-50%,-51.5%) scale(1.12); filter: saturate(1.25) brightness(1.1); }
      55%  { transform: translate(-50%,-51.5%) scale(1.12); filter: saturate(1.25) brightness(1.1); }
      100% { transform: translate(-50%,-50%) scale(1.0); filter: saturate(1) brightness(1); }
    }
    @keyframes cinCapsSweep {
      0%   { opacity: 0; transform: translateX(-120%) skewX(-18deg); }
      12%  { opacity: 1; }
      38%  { opacity: 0; transform: translateX(140%) skewX(-18deg); }
      100% { opacity: 0; transform: translateX(140%) skewX(-18deg); }
    }
    #cin-caps::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 34%; z-index: 1; pointer-events: none; opacity: 0; background: linear-gradient(90deg, rgba(248,241,232,0) 0%, rgba(255,255,255,0.35) 50%, rgba(248,241,232,0) 100%); }
    #cin-caps-bg { transition: filter 0.8s ease; will-change: transform; }
    #cin-caps:hover #cin-caps-bg { animation: cinCapsDolly 5s cubic-bezier(0.45,0,0.2,1) infinite; }
    #cin-caps:hover::after { animation: cinCapsSweep 5s cubic-bezier(0.4,0,0.2,1) infinite; }
    @media (prefers-reduced-motion: reduce) { #cin-caps:hover #cin-caps-bg, #cin-caps:hover::after { animation: none; } }
    [data-indpanel] { display: none !important; }
    @media (max-width: 920px) {
      #cin-indx-grid { grid-template-columns: 1fr !important; }
      #cin-drops { display: none !important; }
      #cin-flute { display: none !important; }
      #cin-cards { grid-template-columns: 1fr !important; }
  #cin-partner > div { grid-template-columns: 1fr !important; }
      #cin-stats { flex-wrap: wrap; justify-content: center; }
      #cin-partners-static { gap: 22px !important; }
      #cin-proc { grid-template-columns: 1fr !important; }
      #cin-cut-grid { grid-template-columns: 1fr !important; }
      #cin-spec-row { flex-direction: column; align-items: flex-start; }
      #cin-why-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
      #cin-enq-grid { grid-template-columns: 1fr !important; }
      #cin-blog-grid { grid-template-columns: 1fr !important; }
      #cin-foot-grid { grid-template-columns: 1fr 1fr !important; row-gap: 32px !important; }
    }
    @media (max-width: 600px) {
      #cin-why-grid { grid-template-columns: 1fr !important; }
      #cin-foot-grid { grid-template-columns: 1fr !important; }
      #cin-enq-fields { grid-template-columns: 1fr !important; }
      #cin-hero-cta { flex-wrap: wrap; }

      /* --- Phone layout --- */
      /* Header: sample pill left, logo center, floating menu right */
      body > section#cin-hero header { top: 10px !important; grid-template-columns: auto 1fr !important; }
      body > section#cin-hero header > div:first-child a { padding: 9px 13px !important; font-size: 12px !important; gap: 5px !important; }
      body > section#cin-hero header img { height: 44px !important; }
      body > section#cin-hero header > div:nth-child(2) { justify-content: flex-end !important; padding-right: 54px; }
      body > section#cin-hero header > div:last-child { display: none !important; }

      /* Trust bar */
      #cin-trust { padding: 26px 16px !important; gap: 8px !important; }
      #cin-trust p { font-size: 12px !important; letter-spacing: 0.18em !important; }
      .cin-trust-pill { padding: 8px 14px !important; font-size: 11px !important; }

      /* Industry explorer: smaller tab type, tighter panes */
      [data-indtab] { font-size: 24px !important; padding: 12px 4px !important; }
      .cin-indx-media { aspect-ratio: 4/3 !important; }
      [data-indpane] .lgs { margin: -28px 8px 0 !important; padding: 18px 16px 20px !important; }

      /* Performance cards */
      #cin-caps > div:last-child { padding: 72px 20px 32px !important; }

      /* Section paddings tighten */
      section { padding-left: 20px !important; padding-right: 20px !important; }

      /* Fact list + orb */
      #cin-mat-stage { min-height: 260px !important; }
      #cin-mat-stage img { width: 220px !important; }

      /* Stats wrap */
      [data-fstat] p:first-child { font-size: 34px !important; }

      /* JJD logo */
      #cin-partner img[alt="JJD Group"] { width: min(78vw, 320px) !important; }

      /* Closing statement fits */
      #cin-close h2 span span { font-size: clamp(40px, 13vw, 76px) !important; }

      /* Footer */
      footer { padding-left: 20px !important; padding-right: 20px !important; }
    }
    @media (max-width: 920px) {
      #cin-mat-grid { grid-template-columns: 1fr !important; }
      #cin-mat-stage { min-height: 340px !important; order: -1; }
    }
    #cin-enq input, #cin-enq select, #cin-enq textarea { width: 100%; box-sizing: border-box; font-family: 'Barlow', sans-serif; font-size: 15px; color: #2E2A27; background: rgba(255,253,249,0.75); border: 1px solid rgba(46,42,39,0.18); border-radius: 12px; padding: 13px 15px; outline: none; transition: border-color 0.25s ease, box-shadow 0.25s ease; }
    #cin-enq input::placeholder, #cin-enq textarea::placeholder { color: rgba(46,42,39,0.4); }
    #cin-enq input:focus, #cin-enq select:focus, #cin-enq textarea:focus { border-color: #C75B3A; box-shadow: 0 0 0 3px rgba(199,91,58,0.14); }
    #cin-enq label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #6B5B52; margin: 0 0 7px; }
    .cin-btn { transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease, background 0.25s ease, color 0.25s ease; }
    .cin-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(199,91,58,0.5); }
    .cin-why-card { transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease; }
    .cin-why-card:hover { transform: translateY(-5px); }
    .cin-blog-card { transition: transform 0.4s cubic-bezier(0.22,1,0.36,1); cursor: pointer; }
    .cin-blog-card:hover { transform: translateY(-6px); }
    .cin-blog-card .cin-blog-img { transition: transform 0.6s cubic-bezier(0.22,1,0.36,1); }
    .cin-blog-card:hover .cin-blog-img { transform: scale(1.06); }
    .cin-foot-link { display: block; font-size: 13px; font-weight: 300; color: rgba(248,241,232,0.7); padding: 5px 0; transition: color 0.25s ease, padding-left 0.25s ease; }
    .cin-foot-link:hover { color: #E0794E; padding-left: 4px; }
    #cin-indx [data-indpane] { perspective: 1100px; transition: opacity 0.5s cubic-bezier(0.22,1,0.36,1), transform 0.5s cubic-bezier(0.22,1,0.36,1); }
    .cin-indx-media { transform-style: preserve-3d; transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease; will-change: transform; box-shadow: 0 30px 60px -36px rgba(46,42,39,0.42); }
    .cin-indx-media img { transition: transform 0.5s cubic-bezier(0.22,1,0.36,1); backface-visibility: hidden; }
    .cin-indx-media .cin-indx-glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s ease; background: radial-gradient(360px 360px at var(--gx,50%) var(--gy,40%), rgba(255,253,249,0.4), rgba(255,253,249,0) 60%); mix-blend-mode: screen; }
    #cin-indx [data-indtab] { transition: color 0.25s ease, padding-left 0.25s ease; }
    #cin-indx [data-indtab]:hover { padding-left: 10px; }
    @media (hover: none) { .cin-indx-media { transform: none !important; } }
    .cin-btn { will-change: transform; }
    #cin-progress { pointer-events: none; }
    @keyframes cinFlow1 { 0%, 100% { transform: translate(0,0) scale(1); opacity: 0.9; } 33% { transform: translate(26%,18%) scale(1.28); opacity: 1; } 66% { transform: translate(-18%,12%) scale(0.86); opacity: 0.75; } }
    @keyframes cinFlow2 { 0%, 100% { transform: translate(0,0) scale(1); opacity: 0.85; } 50% { transform: translate(-30%,-22%) scale(1.34); opacity: 1; } }
    @keyframes cinFlow3 { 0%, 100% { transform: translate(0,0) scale(1); opacity: 0.9; } 40% { transform: translate(22%,-18%) scale(1.22); opacity: 1; } 75% { transform: translate(-16%,20%) scale(0.84); opacity: 0.7; } }

/* Hover state for the "Request a quote" pill */
.cin-quote-hover { transition: background 0.25s ease, color 0.25s ease; }
.cin-quote-hover:hover { background: #C75B3A; color: #F8F1E8; }

/* "Understanding isomalt" interactive fact list */
.cin-mat-fact summary::-webkit-details-marker { display: none; }
.cin-mat-fact summary:hover span:nth-child(2) { color: #C75B3A; }
.cin-mat-fact summary span { transition: color 0.25s ease; }
.cin-mat-fact[open] .cin-mat-plus { transform: rotate(45deg); }
.cin-mat-fact > p { animation: cinFactIn 0.4s cubic-bezier(0.22,1,0.36,1); }
@keyframes cinFactIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Why-isomalt icons: line art draws itself when the grid scrolls into view */
#cin-why-grid svg * { stroke-dasharray: 90; stroke-dashoffset: 90; }
#cin-why-grid.cin-draw svg * { animation: cinIconDraw 1.4s cubic-bezier(0.4,0,0.2,1) forwards; }
#cin-why-grid.cin-draw .cin-why-card:nth-child(2) svg * { animation-delay: 0.12s; }
#cin-why-grid.cin-draw .cin-why-card:nth-child(3) svg * { animation-delay: 0.24s; }
#cin-why-grid.cin-draw .cin-why-card:nth-child(4) svg * { animation-delay: 0.36s; }
#cin-why-grid.cin-draw .cin-why-card:nth-child(5) svg * { animation-delay: 0.48s; }
#cin-why-grid.cin-draw .cin-why-card:nth-child(6) svg * { animation-delay: 0.6s; }
#cin-why-grid.cin-draw .cin-why-card:nth-child(7) svg * { animation-delay: 0.72s; }
#cin-why-grid.cin-draw .cin-why-card:nth-child(8) svg * { animation-delay: 0.84s; }
@keyframes cinIconDraw { to { stroke-dashoffset: 0; } }
/* Continuous icon life while the panel is on screen (.cin-draw toggles with visibility) */
@keyframes cinSpinSlow { to { transform: rotate(360deg); } }
@keyframes cinTwinkle { 0%,100% { opacity: 0; transform: scale(0.3) rotate(0deg); } 40% { opacity: 1; transform: scale(1.15) rotate(45deg); } 70% { opacity: 0.4; transform: scale(0.8) rotate(90deg); } }
@keyframes cinBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-2.5px); } }
@keyframes cinEkg { from { stroke-dashoffset: 48; } to { stroke-dashoffset: 0; } }
@keyframes cinMercury { 0%,100% { transform: scaleY(0.35); } 50% { transform: scaleY(1.35); } }
@keyframes cinTick { to { transform: rotate(360deg); } }
@keyframes cinChomp { 0%,100% { transform: translateY(0) scale(1); } 30% { transform: translateY(1.5px) scale(1.05,0.94); } 60% { transform: translateY(-1px) scale(0.98,1.04); } }
@keyframes cinTickDraw { 0% { stroke-dashoffset: 10; } 35% { stroke-dashoffset: 0; } 75% { stroke-dashoffset: 0; opacity: 1; } 88% { opacity: 0; stroke-dashoffset: 10; } 100% { opacity: 1; stroke-dashoffset: 10; } }
#cin-why-grid .cin-why-card svg { transform-origin: center; }
#cin-why-grid.cin-draw .cin-why-card:nth-child(1) svg { animation: cinSpinSlow 7s linear 1.5s infinite; }
#cin-why-grid .cin-why-card:nth-child(2) .cin-spark { opacity: 0; stroke-width: 1.3; stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
#cin-why-grid.cin-draw .cin-why-card:nth-child(2) .cin-spark-a { transform-origin: 19.5px 3px; animation: cinTwinkle 2.4s ease-in-out 1.6s infinite; }
#cin-why-grid.cin-draw .cin-why-card:nth-child(2) .cin-spark-b { transform-origin: 3.5px 3px; animation: cinTwinkle 2.4s ease-in-out 2.4s infinite; }
#cin-why-grid.cin-draw .cin-why-card:nth-child(2) .cin-spark-c { transform-origin: 12px 15px; animation: cinTwinkle 2.4s ease-in-out 3.2s infinite; }
#cin-why-grid.cin-draw .cin-why-card:nth-child(3) svg { animation: cinBob 2.6s ease-in-out 1.7s infinite; }
#cin-why-grid.cin-draw .cin-why-card:nth-child(4) svg polyline { stroke-dasharray: 12 36; animation: cinEkg 1.7s linear 1.8s infinite; }
#cin-why-grid.cin-draw .cin-why-card:nth-child(5) svg .cin-mercury { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; transform-origin: 12px 14px; transform-box: view-box; animation: cinMercury 3s ease-in-out 1.9s infinite; }
#cin-why-grid.cin-draw .cin-why-card:nth-child(6) svg path { stroke-dasharray: none; stroke-dashoffset: 0; }
#cin-why-grid.cin-draw .cin-why-card:nth-child(6) svg .cin-clock-hand { transform-origin: 12px 12px; animation: cinTick 6s linear 2s infinite; }
#cin-why-grid.cin-draw .cin-why-card:nth-child(7) svg { animation: cinChomp 2.8s ease-in-out 2.1s infinite; }
#cin-why-grid.cin-draw .cin-why-card:nth-child(8) .cin-tick { stroke-dasharray: 10 !important; animation: cinTickDraw 2.6s ease-in-out 2.2s infinite !important; }
@media (prefers-reduced-motion: reduce) {
  #cin-why-grid svg *, #cin-why-grid svg { stroke-dasharray: none; stroke-dashoffset: 0; animation: none !important; }
}

/* Footer social icons */
.cin-soc { transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), background 0.25s ease; }
.cin-soc:hover { transform: translateY(-3px) scale(1.08); background: #E0794E !important; }

/* Sugar vs Isomalt bars: fill when the card scrolls in */
.cin-vs-bar { transition: width 1.1s cubic-bezier(0.22,1,0.36,1); }
/* Trust-bar pills: hover swaps to orange bg + white text */
/* Hero background: slow-drifting color fields + falling crystal grains */
@keyframes cinBlob1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-5vw,4vh) scale(1.08); } }
@keyframes cinBlob2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(4vw,-5vh) scale(1.06); } }
@keyframes cinBlob3 { 0%,100% { transform: translate(0,0); opacity:0.9; } 50% { transform: translate(3vw,3vh); opacity:0.6; } }
#cin-hero-blob1 { animation: cinBlob1 16s ease-in-out infinite; }
#cin-hero-blob2 { animation: cinBlob2 20s ease-in-out infinite; }
#cin-hero-blob3 { animation: cinBlob3 14s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { #cin-hero-blob1, #cin-hero-blob2, #cin-hero-blob3 { animation: none; } }
.cin-trust-pill { transition: background 0.25s ease, color 0.25s ease; cursor: default; }
.cin-indx-more { transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease; }
.cin-indx-more svg { transition: transform 0.3s cubic-bezier(0.22,1,0.36,1); }
.cin-indx-more:hover { background: #2E2A27 !important; color: #F8F1E8 !important; border-color: #2E2A27 !important; }
.cin-indx-more:hover svg { transform: translateX(3px); }
/* Industry application chips */
.cin-indx-chip { transition: background 0.25s ease, color 0.25s ease, transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease; }
.cin-indx-chip:hover { background: #C75B3A !important; color: #F8F1E8 !important; transform: translateY(-2px); box-shadow: 0 8px 18px -8px rgba(199,91,58,0.6); }
.cin-indx-chip:hover::before { background: #C75B3A; }
/* WhatsApp floating button */
#cin-wa-fab { transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s ease; }
#cin-wa-tip { opacity: 0; transform: translateY(-50%) translateX(8px); transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22,1,0.36,1); }
#cin-wa-fab:hover #cin-wa-tip, #cin-wa-fab:focus-visible #cin-wa-tip, #cin-wa-fab.tip-show #cin-wa-tip { opacity: 1; transform: translateY(-50%) translateX(0); }
#cin-wa-fab:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(37,211,102,0.4), 0 3px 8px rgba(46,42,39,0.18); }
#cin-wa-fab::before { content:""; position:absolute; inset:0; border-radius:inherit; border:2px solid rgba(37,211,102,0.6); animation: cinWaPulse 2.6s ease-out infinite; pointer-events:none; }
@keyframes cinWaPulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.35); opacity: 0; } }
@media (max-width: 600px) { #cin-wa-fab { right:16px; bottom:16px; } }
@media (prefers-reduced-motion: reduce) { #cin-wa-fab::before { animation: none; } }
.cin-trust-pill:hover { background: #C75B3A !important; color: #F8F1E8 !important; }

/* Performance cards: readable glass + hover lift, icon pop */
.cin-perf-card { transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), box-shadow 0.45s ease, background 0.45s ease; }
.cin-perf-card:hover { transform: translateY(-8px); background: rgba(255,253,249,0.95) !important; box-shadow: 0 26px 50px -24px rgba(46,42,39,0.4); }
.cin-perf-card > div:first-child > span:first-child { transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1); }
.cin-perf-card:hover > div:first-child > span:first-child { transform: scale(1.12) rotate(-6deg); }
@media (prefers-reduced-motion: reduce) { .cin-perf-card, .cin-perf-card > div:first-child > span:first-child { transition: none; } }

/* How-we-work: train animation from 01 to 04 */
.cin-proc-step { opacity: 0.3; transform: translateY(18px); transition: opacity 0.5s cubic-bezier(0.22,1,0.36,1), transform 0.5s cubic-bezier(0.22,1,0.36,1); }
.cin-proc-step.on { opacity: 1; transform: none; }
.cin-proc-step.on .cin-proc-dot { background: #C75B3A; transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) {
  .cin-proc-step { opacity: 1 !important; transform: none !important; }
  #cin-proc-rail { transform: scaleX(1) !important; transition: none !important; }
  #cin-proc-train { display: none !important; }
}
@media (max-width: 920px) {
  #cin-proc-rail, #cin-proc-train, .cin-proc-dot { display: none !important; }
  .cin-proc-step { opacity: 1 !important; transform: none !important; padding-top: 20px !important; border-top: 1px dashed rgba(46,42,39,0.3); }
}

/* Closing statement: the hovered line turns orange */
.cin-close-line { transition: color 0.3s ease; cursor: default; }
.cin-close-line:hover { color: #E0794E; }

/* Hero (crystal-clear gummies) */
#cin-hero h1 { text-wrap: balance; }
@media (max-width: 640px) {
  #cin-hero-cta a { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { #cin-hero-bg img { animation: none !important; } }

@media (max-width: 920px) { #cin-tds-grid { grid-template-columns: 1fr !important; } }
