/* PACK09F public presentation only; admin and commercial handlers are unchanged. */
body.page--rubber-finished-products, body.page--request-quote {
  --rubber-ink: #070b0b; --rubber-panel: #101716; --rubber-panel-soft: #151e1c;
  --rubber-accent: #a9b8a2; --rubber-accent-bright: #d1dacb;
  --rubber-line: rgba(210,223,211,.2); --rubber-muted: #b5c0b9;
  background: var(--rubber-ink); color: #f2efe9;
}
html[data-theme='light'] body.page--rubber-finished-products,
html[data-theme='light'] body.page--request-quote {
  --rubber-ink: #f2eee6; --rubber-panel: #fffdf8; --rubber-panel-soft: #e8eee8;
  --rubber-accent: #607b68; --rubber-accent-bright: #344f3f;
  --rubber-line: rgba(45,68,54,.2); --rubber-muted: #536158;
  background: var(--rubber-ink); color: #1b2a22;
}
/* Opaque semantic CTA surfaces retain contrast even on fixed dark heroes. */
body:not(.page--admin) .button {
  min-height: 44px; border: 1px solid #e4ad77; background: #e4ad77; color: #17291e;
  cursor: pointer; text-align: center; line-height: 1.45;
}
body:not(.page--admin) .button:hover { background: #f1c59b; border-color: #f1c59b; color: #17291e; }
body:not(.page--admin) .button:active { background: #d99b5e; border-color: #d99b5e; color: #17291e; transform: none; }
body:not(.page--admin) .button.button--outline { background: #f6f2ea; border-color: #a5b3a8; color: #20352a; }
body:not(.page--admin) .button.button--outline:hover { background: #dce5d9; border-color: #b9cbb5; color: #20352a; }
body:not(.page--admin) .button.button--outline:active { background: #c8d5c3; border-color: #879d80; color: #20352a; }
body:not(.page--admin) :is(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px #263e2e;
}
body:not(.page--admin) .button:disabled { cursor: default; transform: none; }
.primary-nav { gap: clamp(.8rem, 1.3vw, 1.35rem); }
.primary-nav > a:not(.button), .products-menu > summary { white-space: nowrap; }
.products-menu { position: relative; }
.products-menu > summary {
  display: flex; align-items: center; justify-content: space-between; gap: .45rem;
  min-height: 44px; padding: .4rem 0; list-style: none; color: #d5ddd5;
  font-size: .75rem; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; cursor: pointer;
}
.products-menu > summary::-webkit-details-marker { display: none; }
.products-menu > summary span { font-size: 1.1rem; }
.products-menu[open] > summary span { transform: rotate(180deg); }
.products-menu__panel {
  position: absolute; top: 100%; left: -.85rem; width: 19rem; padding: .5rem;
  border: 1px solid #536651; border-radius: .6rem; background: #17251c; color: #f4f0e8;
  box-shadow: 0 1.5rem 3rem #0003;
}
.products-menu__panel a { display: grid; gap: .15rem; padding: .8rem; border-radius: .25rem; text-decoration: none; }
.products-menu__panel a:hover, .products-menu__panel a:focus-visible { background: #304534; }
.products-menu__panel strong { font-size: .87rem; }
.products-menu__panel a span { color: #bac9b6; font-size: .72rem; }
html[data-theme='light'] .products-menu > summary { color: #3f4947; }
html[data-theme='light'] .products-menu__panel { background: #fffdf8; color: #20352a; border-color: #c1cabb; }
html[data-theme='light'] .products-menu__panel a:hover,
html[data-theme='light'] .products-menu__panel a:focus-visible { background: #e5ecdf; }
html[data-theme='light'] .products-menu__panel a span { color: #566652; }
.finished-rubber-hero { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.finished-rubber-hero__grid { grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.finished-rubber-hero h1 { max-width: 17ch; font-size: clamp(2.65rem, 4.4vw, 4.6rem); line-height: 1.06; letter-spacing: -.035em; }
.finished-rubber-hero .rubber-kicker, .finished-rubber-cta .rubber-kicker { color: #cbd7c5; }
.finished-rubber-hero .rubber-lede { font-size: 1rem; max-width: 52ch; }
.finished-browse-link { display: inline-flex; align-items: center; gap: 1rem; min-height: 44px; margin-top: 1rem; color: #e0e8d9; font-size: .85rem; text-underline-offset: .3em; }
.finished-rubber-hero__visual { overflow: hidden; border: 1px solid #586153; border-radius: .75rem; }
.finished-rubber-hero__image { margin: 0; background: #d3cec4; aspect-ratio: 3 / 2; }
.finished-rubber-hero__image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.finished-rubber-hero__visual > p { margin: 0; padding: 1.1rem 1.4rem; background: #25362b; color: #d2dacc; font-size: .82rem; }
.finished-rubber-hero__visual strong { color: #f4f0e8; }
.page--rubber-finished-products .rubber-section { padding-block: clamp(3rem, 6vw, 5rem); }
.finished-rubber-section-heading h2 { max-width: 24ch; font-size: clamp(2rem, 3vw, 3rem); }
.finished-rubber-section-heading > p { font-size: .92rem; }
.finished-rubber-catalogue__grid { gap: 1.35rem; }
.finished-rubber-card { border-radius: .65rem; }
.finished-rubber-card__image { height: auto; aspect-ratio: 3 / 2; background: #d3cec4; }
.finished-rubber-card__image img { object-fit: contain; }
.finished-rubber-card__body { min-height: 0; padding: 1.4rem; }
.finished-rubber-card h3 { min-height: 2.35em; margin: .65rem 0; font-size: clamp(1.5rem, 2vw, 2rem); line-height: 1.18; }
.finished-rubber-card p { margin: .3rem 0; font-size: .88rem; }
.finished-rubber-status { color: #dcc4a0; }
html[data-theme='light'] .finished-rubber-status { color: #6e4828; }
.finished-rubber-chips { margin-block: .8rem 1.25rem; }
.finished-rubber-chips span { font-size: .72rem; }
.finished-card-actions { display: grid; gap: .3rem; margin-top: auto; padding-top: .7rem; }
.finished-card-actions .rubber-text-link { min-height: 44px; padding-top: .65rem; font-size: .8rem; text-align: center; }
.finished-rubber-family { display: block; border-radius: .5rem; scroll-margin-top: 7rem; }
.finished-rubber-family > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; list-style: none; cursor: pointer; font-weight: 700; }
.finished-rubber-family > summary::-webkit-details-marker { display: none; }
.finished-rubber-family > summary span:last-child { font-size: 1.5rem; font-weight: 400; }
.finished-rubber-family[open] > summary { border-bottom: 1px solid var(--rubber-line); }
.finished-rubber-family[open] > summary span:last-child { transform: rotate(45deg); }
.finished-rubber-family__content { padding: 1.4rem; }
.finished-rubber-family:hover { transform: none; box-shadow: none; }
.finished-rubber-family .rubber-text-link { align-self: flex-start; min-height: 44px; }
.finished-rubber-cta { color: #f4f0e8; }
html[data-theme='light'] .finished-rubber-cta { background: linear-gradient(135deg, #30443a, #16241f); color: #f4f0e8; }
#finished-product-rfq { scroll-margin-top: 6rem; }
.rubber-form__footer .button { max-width: 100%; }
/* The full ordered story is the baseline; enhancement only adds the sticky scene. */
.story-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: end; margin-bottom: 3rem; }
.story-heading h2 { font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.06; }
.story-heading > div > p:not(.rubber-kicker), .story-step > p:not(.rubber-kicker) { color: var(--rubber-muted); max-width: 50ch; }
#rubber-journey { scroll-margin-top: 6rem; }
.story-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.story-stage { display: none; }
.story-steps { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2rem; padding: 0; margin: 0; list-style: none; }
.story-step { min-width: 0; }
.story-step__image { display: block; width: 100%; aspect-ratio: 600 / 430; margin-bottom: 1.5rem; border-radius: .75rem; background: #efecdf; }
.story-step h3 { max-width: 23ch; font-size: clamp(1.7rem, 2.5vw, 2.5rem); line-height: 1.12; margin: .5rem 0 1rem; }
.story-step .story-note { padding: .8rem 1rem; border-left: 2px solid var(--rubber-accent); font-size: .8rem; background: var(--rubber-panel-soft); }
.story-step a { text-underline-offset: .25em; }
.story-footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--rubber-line); }
.story-footer p { max-width: 70ch; margin: 0; font-size: .8rem; color: var(--rubber-muted); }
.story-footer button { flex-shrink: 0; }
.story-motion[hidden] { display: none; }
.story-drop, .story-sheet, .story-route, .story-leaves { animation: none; }
@media (min-width: 901px) {
  .story-enhanced .story-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
  .story-enhanced .story-stage { display: block; position: sticky; top: 7rem; border: 1px solid var(--rubber-line); border-radius: .85rem; overflow: hidden; }
  .story-stage__scenes { position: relative; aspect-ratio: 600 / 430; background: #efecdf; }
  .story-scene { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .55s ease; }
  .story-scene.is-current { opacity: 1; }
  .story-stage__caption { display: flex; align-items: center; justify-content: space-between; gap: .8rem; min-height: 4rem; padding: 1rem 1.3rem; background: var(--rubber-panel); }
  .story-stage__caption span { font-size: .68rem; color: var(--rubber-muted); }
  .story-stage__caption strong { font-size: .9rem; }
  .story-enhanced .story-steps { display: block; }
  .story-enhanced .story-step { min-height: 24rem; display: flex; flex-direction: column; justify-content: center; padding-block: 2.5rem; border-top: 1px solid var(--rubber-line); }
  .story-enhanced .story-step__image { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .story-in-view[data-motion='on'] .story-drop { animation: latex-drop 2.8s ease-in infinite; }
  .story-in-view[data-motion='on'] .story-route { animation: supply-route 4s ease-in-out infinite alternate; }
  .story-in-view[data-motion='on'] .story-leaves { animation: plantation-breeze 5s ease-in-out infinite alternate; transform-origin: 75px 110px; }
  .story-in-view[data-motion='on'] .story-sheet { animation: sheet-process 4s ease-in-out infinite alternate; }
}
@keyframes latex-drop { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 90%, 100% { transform: translateY(42px); opacity: 0; } }
@keyframes supply-route { to { transform: translateX(14px); } }
@keyframes plantation-breeze { to { transform: rotate(2deg); } }
@keyframes sheet-process { to { transform: translateY(9px); } }
.rubber-story[data-motion='off'] .story-scene { transition: none; }
@media (max-width: 1100px) {
  .header__inner { gap: 1rem; }
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; z-index: 45; inset: 100% 0 auto; display: grid; gap: 0; order: 4; margin: 0; padding: 1rem 1.25rem; background: #101a14; visibility: hidden; transform: translateY(-130%); opacity: 0; pointer-events: none; max-height: calc(100dvh - 80px); overflow-y: auto; }
  .primary-nav { transition: opacity .15s ease; }
  .primary-nav.is-open { visibility: visible; transform: translateY(0); opacity: 1; pointer-events: auto; }
  .primary-nav > a:not(.button), .products-menu > summary { padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .78rem; }
  .primary-nav .button { width: max-content; margin-top: .9rem; }
  .products-menu__panel { position: static; width: 100%; margin-block: .4rem; box-shadow: none; }
  html[data-theme='light'] .primary-nav { background: #f4efe6; }
  html:not(.js) .header__inner { flex-wrap: wrap; }
  html:not(.js) .primary-nav { position: static; width: 100%; visibility: visible; transform: none; opacity: 1; pointer-events: auto; max-height: none; }
  html:not(.js) .header__controls { display: none; }
  .finished-rubber-catalogue__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .finished-rubber-hero__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .finished-rubber-hero h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
  .story-heading { grid-template-columns: 1fr; gap: 1rem; }
  .story-steps { gap: 2.5rem 1.5rem; }
  .story-step:last-child { grid-column: 1 / -1; max-width: 36rem; }
  .story-footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 600px) {
  .finished-rubber-hero__grid, .finished-rubber-section-heading, .finished-rubber-catalogue__grid, .story-steps { grid-template-columns: 1fr; }
  .finished-rubber-hero__visual { margin-top: .5rem; }
  .finished-rubber-actions { display: grid; }
  .finished-rubber-actions .button { width: 100%; }
  .finished-rubber-card h3 { min-height: 0; }
  .story-step { padding-bottom: 1.5rem; border-bottom: 1px solid var(--rubber-line); }
  .story-step__image { max-height: 18rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rubber-story *, .products-menu *, .finished-rubber-card { animation: none !important; transition: none !important; }
  body:not(.page--admin) .button { transition: none; }
}
