/* v0.2 approved interface colors. Surface and divider values are inherited
   from the previous paper-box trial pending inclusion in the palette. */
:root {
  --jlc-container:1600px;
  --jlc-body:#333333;
  --jlc-secondary:#4d4d4d;
  --jlc-ink:#1a1a1a;
  --jlc-muted:#666666;
  --jlc-supporting:#707070;
  --jlc-heading:#000000;
  --jlc-font:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  --jlc-radius-sm:8px;
  --jlc-radius-md:12px;
  --jlc-radius-lg:16px;
  --jlc-radius-xl:20px;
  --jlc-divider:#e8eaed;
}
* { box-sizing:border-box; }
body { margin:0; background:var(--jlc-page); color:var(--jlc-ink); font:15px/1.65 var(--jlc-font); }
a { color:inherit; text-decoration:none; }
a:hover { color:var(--jlc-blue); }
:focus-visible { outline:2px solid var(--jlc-blue); outline-offset:3px; }
h1,h2,h3,p,figure,ul,ol { margin:0; }
h1,h2,h3 { line-height:1.25; }
h1,h2 { font-size:40px; }
@media (max-width:1680px) {
  :root { --jlc-container:1264px; }
  h1,h2 { font-size:32px; }
}
h3 { font-size:18px; }
.wrap { width:min(calc(100% - 48px),var(--jlc-container)); margin-inline:auto; }
.skip { position:absolute; top:8px; left:8px; padding:6px; background:white; transform:translateY(-200%); }
.skip:focus { transform:none; }
.utility .wrap,.nav-row,.section-head,.cta .wrap,.footer-row { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.utility .wrap { min-height:40px; color:var(--jlc-muted); font-size:13px; }
.header { background:white; }
.nav-row { min-height:72px; }
.brand img { display:block; object-fit:contain; object-position:left; }
#nav { display:flex; gap:clamp(12px,1.8vw,28px); margin-left:auto; font-size:15px; font-weight:600; }
#nav a { padding-block:19px; border-bottom:2px solid transparent; }
#nav [aria-current] { color:var(--jlc-blue); border-color:var(--jlc-blue); }
.menu { display:none; }
.jlc-button { white-space:nowrap; }
.jlc-button:hover { color:white; }
.jlc-button--outline:hover { color:var(--jlc-blue); }
.crumb { display:flex; gap:10px; padding:16px 0; font-size:13px; color:var(--jlc-muted); }
h1,h2 { color:var(--jlc-heading); }
.section-head { text-align:left; }
.more-link { display:inline-flex; align-items:center; gap:4px; white-space:nowrap; }
.text-link { color:var(--jlc-blue); font-size:14px; }
@media (min-width:901px) {
  .wrap { width:min(calc(100% - 80px), var(--jlc-container)); }
}
@media (max-width:600px) {
  .wrap { width:calc(100% - 32px); }
}

/* Paper-box navigation variant from the service guide design. */
.utility { background:var(--jlc-page); }
.utility .wrap { color:var(--jlc-muted); font-size:14px; }
.utility-actions,.nav-actions { display:flex; align-items:center; gap:16px; }
.utility-actions { gap:29px; }
.utility-actions a,.account { display:grid; place-items:center; }
.utility-actions svg,.account svg { fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.utility-actions a { color:var(--jlc-muted); }
.nav-row { justify-content:flex-start; gap:32px; }
.brand { display:flex; flex:0 0 218px; align-items:center; }
.brand img { object-fit:contain; }
#nav { margin-left:0; align-items:center; gap:clamp(14px,2.08vw,40px); white-space:nowrap; font-size:16px; }
#nav>a { padding-block:8px; border-bottom:0; }
#nav [aria-current] { color:var(--jlc-blue); }
.nav-actions { margin-left:auto; flex-shrink:0; }
.nav-actions .nav-cta,.account { border-radius:var(--jlc-radius-sm); height:40px; }
.account { width:40px; color:white; background:var(--jlc-blue); }
.account:hover { color:white; }
.nav-pop { position:relative; }
.nav-pop summary { display:flex; align-items:center; gap:4px; list-style:none; cursor:pointer; }
.nav-pop summary::-webkit-details-marker { display:none; }
.nav-pop summary::after { content:""; width:6px; height:6px; border:solid currentColor; border-width:0 1px 1px 0; transform:translateY(-2px) rotate(45deg); }
.nav-pop[open] summary::after { transform:translateY(2px) rotate(225deg); }
.activity-mark { color:#ff383c; }
.nav-pop-links { position:absolute; z-index:2; top:calc(100% + 8px); left:0; min-width:155px; padding:8px; border:1px solid var(--jlc-divider); border-radius:var(--jlc-radius-sm); background:white; }
#nav .nav-pop-links a,.nav-pop-links a { display:block; padding:5px 8px; border:0; font-weight:400; white-space:nowrap; }
@media (min-width:901px) and (max-width:1350px) {
  .nav-row { gap:18px; }
  .brand { flex-basis:177px; }
  #nav { gap:14px; font-size:14px; }
}
@media (max-width:1100px) {
  .nav-row { flex-wrap:wrap; gap:8px; padding-block:8px; }
  .brand { flex:1 1 auto; margin-right:auto; }
  .menu { display:block; background:white; border:1px solid var(--jlc-blue); color:var(--jlc-blue); border-radius:var(--jlc-radius-sm); min-height:40px; padding-inline:10px; }
  .nav-actions { margin-left:0; gap:8px; }
  #nav { display:none; width:100%; order:1; flex-direction:column; align-items:stretch; gap:0; }
  #nav.open { display:flex; }
  #nav .nav-pop summary { padding-block:8px; }
  #nav .nav-pop-links { position:static; }
}
@media (max-width:480px) {
  .brand img { width:122px; height:auto; }
  .nav-actions .nav-cta { padding-inline:8px; font-size:13px; }
  .utility-actions { gap:16px; }
}

/* Layout uses the desktop reference rhythm, with responsive spacing. */
body { background:var(--jlc-surface); }
.page-band { padding-block:clamp(48px,5.2vw,100px); }
.section-content { margin-top:clamp(24px,2.6vw,50px); }
.media-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(20px,1.6vw,30px); align-items:stretch; }
.metric-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; list-style:none; margin-top:24px; padding:0; }
.metric-grid li { display:grid; align-content:start; gap:4px; padding:18px 20px; min-height:116px; border-radius:var(--jlc-radius-sm); background:var(--jlc-page); }
.metric-grid strong { font-size:clamp(22px,1.6vw,30px); line-height:1.25; }
.metric-grid small,.feature-list p,.activity-grid p,.product-track p { color:var(--jlc-supporting); }
.editor-preview { padding:16px; background:var(--jlc-page); border-radius:var(--jlc-radius-xl); align-self:start; }
.editor-preview img { display:block; width:100%; border-radius:var(--jlc-radius-sm); }
.feature-list { display:grid; grid-template-rows:repeat(4,1fr); gap:12px; list-style:none; padding:0; }
.feature-list li { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:86px; padding:18px 24px; border-radius:var(--jlc-radius-md); background:var(--jlc-page); }
.feature-list p { margin-top:5px; }
.product-band { background:var(--jlc-page); }
.product-track { --visible:4; --gap:20px; display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - (var(--visible) - 1)*var(--gap))/var(--visible)); gap:var(--gap); list-style:none; padding:0 0 8px; overflow-x:auto; scroll-snap-type:x mandatory; }
.product-track li { min-width:0; scroll-snap-align:start; display:flex; flex-direction:column; background:var(--jlc-surface); border-radius:var(--jlc-radius-sm); padding:16px 18px 20px; }
.product-track img { display:block; width:100%; aspect-ratio:1.35; object-fit:contain; padding:14px 18px; }
.product-track h3 { margin-top:12px; }
.product-track p { font-size:14px; margin-top:5px; }
.activity-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.activity-grid article { background:var(--jlc-page); border-radius:var(--jlc-radius-sm); padding:26px; display:grid; gap:8px; }
.activity-grid .text-link { justify-self:start; }
.cta { background:var(--jlc-page) url('assets/action-art.png') center / cover no-repeat; }
.cta .wrap { min-height:136px; padding-block:24px; }
.cta h2 { font-size:clamp(22px,2vw,30px); }
.cta .jlc-button { color:var(--jlc-blue); background:white; border-radius:var(--jlc-radius-sm); min-width:160px; }
.cta .jlc-button:hover { color:var(--jlc-blue); }

@media(max-width:900px) {
  .product-track { --visible:3; }
  .feature-list li { padding:14px 16px; }
}
@media(max-width:600px) {
  .product-track { --visible:2; --gap:12px; }
  .product-track li { padding:12px; }
  .product-track img { padding:8px; }
  .metric-grid li { padding:14px 12px; }
  .cta { background-position:left center; }
  .cta .wrap { align-items:flex-start; justify-content:center; flex-direction:column; }
}

/* Page hero and content spacing */
main { display:grid; grid-template-columns:minmax(0,1fr); gap:50px; }
.page-band { padding-block:0; }
.product-band { padding-block:26px; }

@media(max-width:600px) {
}

/* v0.5 imagery and section rhythm */
main { gap:60px; }
.activity-grid article { padding:28px 30px; min-height:220px; grid-template-rows:auto 1fr auto; gap:12px; }
.activity-grid h3 { font-size:21px; }
.cta { background-size:cover; }
.cta .wrap { min-height:136px; }
.cta-copy { max-width:58%; }
.cta h2 { font-size:24px; line-height:1.35; }
.cta-copy p { margin-top:6px; color:var(--jlc-muted); font-size:14px; }
.cta .jlc-button { min-width:190px; min-height:42px; }

@media(max-width:600px) {
  
  .activity-grid article { min-height:174px; padding:22px; }
  .cta-copy { max-width:100%; }
  .cta { background-position:22% center; }
}

/* Each content band owns its top and bottom spacing. */
main { gap:0; }
.page-band,.product-band { padding-block:100px; }

.metric-grid li { min-height:104px; grid-template-rows:auto auto; }
.metric-grid span { color:var(--jlc-supporting); font-size:14px; }
.product-track { grid-auto-flow:row; grid-template-columns:repeat(var(--visible),minmax(0,1fr)); padding:0; overflow:visible; scroll-snap-type:none; }
.product-track li { min-height:0; }
.product-track li[hidden] { display:none; }
.activity-grid article { min-height:0; padding:0 0 24px; overflow:hidden; grid-template-rows:auto auto 1fr auto; gap:10px; }
.activity-grid article > :not(.activity-art) { margin-inline:24px; }
.activity-art { display:grid; place-items:center; aspect-ratio:2.5; background:var(--jlc-page); }
.activity-art img { display:block; width:68%; height:100%; max-height:175px; object-fit:contain; mix-blend-mode:multiply; }
@media(max-width:600px) {
  .activity-grid article > :not(.activity-art) { margin-inline:20px; }
}

/* One photographic scene across the entire hero. */
html { scroll-padding-top:124px; }
.header { position:sticky; top:0; z-index:20; }
.skip:focus { position:fixed; z-index:21; }
.page-band { --section-padding:70px; padding-block:var(--section-padding); }
#activities { background:var(--jlc-page); }

/* The copy defines the row height. The image fills the same bounds. */
.editor-preview { align-self:stretch; display:grid; grid-template-rows:minmax(0,1fr); }

.metric-grid li,.feature-list li,.editor-preview,.product-track li,.activity-grid article {
  transition:box-shadow .18s ease;
}
@media (hover:hover) {
  :is(.metric-grid li,.feature-list li,.editor-preview,.product-track li,.activity-grid article):hover {
    box-shadow:0 4px 16px rgb(28 42 64 / .055);
  }
}
:is(.editor-preview,.activity-grid article):focus-within { box-shadow:0 4px 16px rgb(28 42 64 / .055); }

.activity-grid article { display:grid; grid-template-columns:minmax(0,1fr) minmax(75px,29%); grid-template-rows:auto; gap:0; padding:24px; border-radius:var(--jlc-radius-md); background:var(--jlc-surface); }
.activity-grid article > .activity-copy { display:grid; grid-template-rows:auto 1fr auto; gap:12px; margin:0; }
.activity-copy .jlc-button { justify-self:start; align-self:end; width:120px; min-height:36px; height:36px; padding-block:0; }
.activity-art { align-self:center; aspect-ratio:1; background: url('assets/activity-art-transparent.png') 0 center / 300% auto no-repeat; }
.activity-art-2 { background-position:50% center; }
.activity-art-3 { background-position:100% center; }
@media(max-width:950px) {
  .activity-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
  .activity-grid article { padding:18px; grid-template-columns:minmax(0,1fr) minmax(65px,26%); }
  .activity-grid h3 { font-size:18px; }
}
@media(max-width:600px) {
  html { scroll-padding-top:100px; }
  
  .media-grid { grid-template-columns:1fr; }
  .editor-preview { display:block; }
  .activity-grid { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) {
  :is(.metric-grid li,.feature-list li,.editor-preview,.product-track li,.activity-grid article) { transition:none; }
}

/* Shared dimensions for the paper-box page. */
button { font:inherit; font-weight:400; }
.jlc-button { border-radius:var(--jlc-radius-sm); font-weight:400; }

.video-cover { position:relative; display:grid; place-items:center; overflow:hidden; min-height:0; border-radius:var(--jlc-radius-lg); }
.video-cover img { width:100%; height:100%; object-fit:contain; border-radius:0; }
.video-cover::before { position:absolute; inset:0; background:rgb(15 23 42 / .10); content:""; }
.video-play { position:absolute; display:grid; place-items:center; width:64px; height:64px; border-radius:50%; background:rgb(15 23 42 / .66); color:#fff; }
.video-cover:hover .video-play,.video-cover:focus-visible .video-play { background:rgb(15 23 42 / .82); }
.video-cover:focus-visible { outline-offset:-3px; }

.cta .jlc-button { align-self:center; gap:8px; line-height:1; }
.cta .quote-icon { display:block; flex:none; }
@media(max-width:600px) {
  .video-cover img { height:auto; }
  .video-play { width:48px; height:48px; }
  .cta .jlc-button { align-self:flex-start; }
}

.packaging-hero { color: var(--jlc-body); }

.hero-stage {
  position: relative;
  isolation: isolate;
  background: #d7e7f6;
  overflow: hidden;
}

.hero-layout {
  display: grid;
  align-items: center;
  min-height: 320px;
  padding-block: 24px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: min(46%, 540px);
}

.hero-metrics { padding-block: 24px 0; }

.hero-copy h1 { margin-bottom: 16px; }
.hero-copy p { max-width: 36em; line-height: 1.8; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.hero-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(80%, 1260px);
  height: 100%;
  object-fit: cover;
  object-position: right 68%;
  mask-image: linear-gradient(to right, transparent, black 37%);
}

.packaging-hero .metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0;
  gap: 12px;
}

.packaging-hero .metric-grid li {
  background: var(--jlc-page);
  padding: clamp(12px, 2vw, 24px);
}

.packaging-hero .metric-grid strong {
  color: var(--jlc-heading);
  font-size: clamp(17px, 2vw, 28px);
}

.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.product-filters[hidden] { display: none; }
.filter-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.product-band .section-content { margin-top: 16px; }
.product-track img { background: var(--jlc-option); border-radius: var(--jlc-radius-sm); }
.product-track h3 { font-size: 16px; margin-top: 16px; }
.product-track p { color: var(--jlc-secondary); margin-top: 8px; }

@media (max-width: 700px) {
  .hero-layout { min-height: 0; padding-bottom: 0; }
  .hero-copy { max-width: none; }
  .hero-art {
    position: static;
    width: calc(100% + 32px);
    height: clamp(160px, 50vw, 265px);
    margin: 12px -16px 0;
    object-position: right 72%;
    mask-image: linear-gradient(to bottom, transparent, black 21%);
  }
  .packaging-hero .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


.header.is-scrolled { box-shadow: 0 2px 8px rgb(26 26 26 / .06); }
.editor-preview { align-self: start; padding: 0; background: transparent; }
.editor-preview:hover, .editor-preview:focus-within { box-shadow: none; }
.video-cover img { aspect-ratio: 16 / 9; height: auto; transition: transform .24s ease-out; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .video-cover:hover img { transform: scale(1.1); }
}
