:root {
  --graphite: #1C2329;
  --graphite-2: #262F37;
  --steel: #5B6670;
  --mist: #EEF1F3;
  --line: #D6DCE0;
  --paper: #FFFFFF;
  --orange: #F26A1B;
  --orange-dark: #C9520F;
  --text: #1C2329;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html:focus-within { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--display); font-stretch: 125%; font-weight: 800; line-height: 1.02; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.6rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-stretch: 112%; font-weight: 700; line-height: 1.15; }
p { margin: 0 0 1em; max-width: 64ch; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--steel); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 1.5rem; text-decoration: none; letter-spacing: .02em; display: flex; align-items: center; gap: 10px; }
.logo span { display: inline-block; width: 12px; height: 28px; background: var(--orange); }
.logo img { height: 38px; width: auto; }
footer .logo img { height: 34px; }
@media (max-width: 560px) { .site-header .logo img { height: 30px; } }
nav.main { display: flex; gap: 28px; align-items: center; }
nav.main a { text-decoration: none; font-weight: 500; font-size: .98rem; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--orange-dark); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); padding: 8px 12px; font: inherit; border-radius: 4px; }

.btn { display: inline-block; background: var(--orange); color: #fff; text-decoration: none; font-weight: 600; padding: 14px 24px; border-radius: 3px; border: 0; font: 600 1rem var(--body); cursor: pointer; }
.btn:hover { background: var(--orange-dark); }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn.ghost:hover { color: var(--orange); }
nav.main .btn { padding: 10px 18px; color: #fff; }
nav.main .btn:hover { color: #fff; }

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); color: #fff; display: flex; align-items: flex-end; overflow: hidden; background: var(--graphite); }
.hero video, .hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,35,41,.15) 0%, rgba(28,35,41,.55) 55%, rgba(28,35,41,.92) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(48px, 8vh, 96px); width: 100%; }
.hero h1 { max-width: 13ch; }
.hero .lede { color: #D9DFE3; margin-top: 24px; max-width: 54ch; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero .btn.ghost { color: #fff; }

/* Format strip — the signature element */
.formats { background: var(--graphite); color: #fff; }
.formats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.formats li { border-left: 1px solid #3A454F; }
.formats li:last-child { border-right: 1px solid #3A454F; }
.formats a { display: block; padding: 26px 22px 28px; text-decoration: none; height: 100%; position: relative; }
.formats a::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: transparent; transition: background .2s; }
.formats a:hover::before, .formats a:focus-visible::before { background: var(--orange); }
.formats strong { display: block; font-family: var(--display); font-stretch: 115%; font-size: 1.15rem; }
.formats small { color: #A9B4BC; font-size: .9rem; }

section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.section-head p { margin: 0; }

/* Showcase (machines) */
.showcase { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.feature { position: relative; color: #fff; overflow: hidden; background: var(--graphite); min-height: 420px; display: flex; align-items: flex-end; text-decoration: none; }
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(28,35,41,.9)); }
.feature:hover img { transform: scale(1.03); }
.feature .cap { position: relative; z-index: 2; padding: 32px; }
.feature .cap p { color: #D0D7DC; margin: 10px 0 0; }
.feature.tall { grid-row: span 2; min-height: 660px; }

/* Gummy band */
.band { background: var(--mist); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: 24px 0 32px; }
.checks li { padding: 12px 0 12px 30px; border-top: 1px solid var(--line); position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 21px; width: 14px; height: 4px; background: var(--orange); }

/* Process */
.process { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--graphite); }
.process div { padding: 28px 24px 0 0; }
.process .n { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 2.6rem; color: var(--orange); line-height: 1; display: block; margin-bottom: 18px; }
.process p { color: var(--steel); font-size: .98rem; }
.process .partner { font-size: .85rem; font-weight: 600; color: var(--graphite); }
.process .partner a { color: var(--orange-dark); }

/* Case studies */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.case img { width: 100%; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 24px; }
.case .tag { display: inline-block; font-weight: 600; font-size: .85rem; color: var(--orange-dark); margin-bottom: 10px; }
.case h3 { margin-bottom: 12px; }
.case p { color: var(--steel); }

/* Family */
.family { background: var(--graphite); color: #fff; }
.family .lede { color: #B8C2C9; }
.family-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: #3A454F; margin-top: 48px; }
.family-grid > * { background: var(--graphite-2); padding: 36px 32px; text-decoration: none; display: block; }
.family-grid a:hover { background: #2E3841; }
.family-grid small { display: block; color: var(--orange); font-weight: 600; margin-bottom: 10px; }
.family-grid p { color: #B8C2C9; font-size: .98rem; margin: 10px 0 0; }

/* CTA */
.cta { text-align: left; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { max-width: 16ch; }

/* Inner pages */
.page-hero { background: var(--graphite); color: #fff; padding: clamp(64px, 9vw, 120px) 0 0; }
.page-hero .crumb { color: #A9B4BC; font-size: .92rem; margin-bottom: 18px; display: block; }
.page-hero .crumb a { color: #A9B4BC; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 5rem); max-width: 16ch; }
.page-hero .lede { color: #D0D7DC; margin-top: 22px; }
.page-hero img { margin-top: 56px; width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; }
.specs h3 { margin-bottom: 10px; padding-top: 18px; border-top: 3px solid var(--orange); }
.specs p { color: var(--steel); font-size: .98rem; }
.other-formats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.other-formats a { padding: 10px 16px; border: 1px solid var(--line); text-decoration: none; border-radius: 3px; }
.other-formats a:hover { border-color: var(--orange); color: var(--orange-dark); }

/* Form */
form.rfq { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
form.rfq .full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; padding: 13px 14px; border: 1px solid #B9C2C8; border-radius: 3px; background: #fff; }
textarea { min-height: 140px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; font-size: .95rem; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { font-weight: 500; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); padding: 9px 14px; border-radius: 3px; cursor: pointer; margin: 0; }
.chips input { width: auto; accent-color: var(--orange); }
.hidden { display: none; }

/* Footer */
footer { background: #12171B; color: #A9B4BC; padding: 72px 0 40px; font-size: .95rem; }
footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
footer h4 { color: #fff; font-family: var(--display); font-stretch: 112%; margin: 0 0 14px; font-size: 1rem; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 8px; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }
footer .logo { color: #fff; margin-bottom: 14px; }
footer .legal { border-top: 1px solid #2A333A; margin-top: 56px; padding-top: 24px; font-size: .85rem; }

/* Responsive */
@media (max-width: 960px) {
  nav.main { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 20px var(--gutter) 28px; border-bottom: 1px solid var(--line); gap: 18px; }
  nav.main.open { display: flex; }
  .menu-toggle { display: block; }
  .formats ul { grid-template-columns: repeat(2, 1fr); }
  .formats li { border-bottom: 1px solid #3A454F; }
  .section-head, .split, .cases, .showcase, form.rfq { grid-template-columns: 1fr; }
  .feature.tall { grid-row: auto; min-height: 460px; }
  .process { grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .specs, .family-grid { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .formats ul, .process, footer .cols { grid-template-columns: 1fr; }
  .feature { min-height: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .hero video { display: none; }
}

/* Added: longer-form content */
.prose { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 88px); }
.prose h2 { position: sticky; top: 110px; align-self: start; }
.prose h3 { margin: 28px 0 10px; }
.prose h3:first-child { margin-top: 0; }
.prose p { color: #3D4750; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; }
.cols3 h3 { margin-bottom: 10px; padding-top: 18px; border-top: 3px solid var(--orange); }
.cols3 p { color: var(--steel); font-size: .98rem; }
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 1.15rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 14px 0 0; color: #3D4750; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tags span { background: var(--mist); padding: 8px 14px; border-radius: 3px; font-size: .95rem; }
.band .tags span { background: #fff; }
.steps { display: grid; gap: 0; counter-reset: s; max-width: 900px; }
.steps > div { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps .n { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 2rem; color: var(--orange); line-height: 1; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--steel); }
@media (max-width: 960px) { .prose, .cols3 { grid-template-columns: 1fr; } .prose h2 { position: static; } }

/* Resources / guides */
.guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.guide { display: flex; flex-direction: column; gap: 12px; padding: 32px; border: 1px solid var(--line); text-decoration: none; border-top: 4px solid var(--graphite); }
.guide:hover { border-top-color: var(--orange); }
.guide p { color: var(--steel); font-size: .98rem; margin: 0; flex: 1; }
.guide span { font-weight: 600; color: var(--orange-dark); }
.article-title { font-size: clamp(2rem, 4.6vw, 3.6rem) !important; max-width: 22ch !important; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 88px); }
.article { max-width: 720px; min-width: 0; }
.article h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 48px 0 16px; }
.article h2:first-child { margin-top: 0; }
.article p { color: #3D4750; font-size: 1.06rem; line-height: 1.7; }
.article-cta { margin-top: 56px; padding: 32px; background: var(--mist); border-left: 4px solid var(--orange); }
.article-cta h3 { margin-bottom: 10px; }
.article-cta .textlink { display: inline-block; margin-left: 18px; font-weight: 600; color: var(--orange-dark); }
.article-side { align-self: start; position: sticky; top: 110px; }
.article-side h4 { font-family: var(--display); font-stretch: 112%; margin: 0 0 14px; }
.article-side ul { list-style: none; padding: 0; margin: 0; }
.article-side li { border-top: 1px solid var(--line); padding: 14px 0; }
.article-side a { text-decoration: none; font-weight: 500; }
.article-side a:hover { color: var(--orange-dark); }
@media (max-width: 960px) { .article-grid { grid-template-columns: 1fr; } .article-side { position: static; } .article-cta .textlink { margin: 16px 0 0; display: block; } }

/* Partner company logos */
.fam-logo { height: 48px; display: flex; align-items: center; margin-bottom: 22px; }
.fam-logo img { height: 34px; width: auto; }
.vestis { display: inline-flex; align-items: center; gap: 10px; }
.vestis img { height: 31px; width: auto; }
.vestis .wm { font-family: "Saira", "Arial Narrow", sans-serif; font-weight: 700; font-size: 1.6rem; letter-spacing: -.015em; line-height: 1; display: flex; gap: .2em; }
.vestis .wm-a { color: #fff; }
.vestis .wm-b { color: #9AA3AE; }
.kwi { font-family: "Michroma", sans-serif; font-size: 1.15rem; letter-spacing: 5px; color: #F2F4F7; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Photo focal points */
img[src="images/portion-cups.jpg"] { object-position: center 72%; }

/* Video */
.feature video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-dark { background: var(--graphite); color: #fff; }
.video-dark .lede { color: #C9D1D7; }
.video-dark .checks li { border-top-color: #3A454F; color: #E3E8EC; }
.video-split { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.video-split video.portrait { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; border-radius: 4px; }
@media (max-width: 960px) { .video-split { grid-template-columns: 1fr; } .video-split video.portrait { max-width: 360px; } }
img[src="images/gummies.jpg"] { object-position: center 65%; }
.page-hero video.banner { margin-top: 56px; width: 100%; aspect-ratio: 21/9; object-fit: cover; display: block; background: #000; }
img[src="images/stick-packs.jpg"] { object-position: center 40%; }
img[src="images/sachets.jpg"] { object-position: center 78%; }
img[src="images/pouches.jpg"] { object-position: center 58%; }
img[src="images/team.jpg"] { object-position: center 28%; }
img[src="images/production-floor.jpg"] { object-position: center 30%; }
.video-dark video.process { width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 4px; display: block; }
.cols3.on-dark p { color: #C9D1D7; }

/* ===== Portion cups sales page ===== */
.cup-hero { background: var(--graphite); color: #fff; padding-block: clamp(48px, 7vw, 96px); }
.cup-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.cup-hero .crumb { color: #A9B4BC; font-size: .92rem; display: block; margin-bottom: 18px; }
.cup-hero .crumb a { color: #A9B4BC; }
.cup-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); max-width: 14ch; }
.cup-hero .lede { color: #D0D7DC; margin-top: 22px; }
.cup-hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.cup-hero .btn.ghost { color: #fff; }
.hero-points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.hero-points li { padding-left: 22px; position: relative; color: #E3E8EC; font-size: .98rem; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 3px; background: var(--orange); }
.cup-hero-media video { width: 100%; max-height: 640px; aspect-ratio: 9/16; object-fit: cover; border-radius: 4px; background: #000; display: block; }

.fill-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.fill-types figure { margin: 0; }
.fill-types img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; margin-bottom: 18px; }
.fill-types h3 { margin-bottom: 8px; }
.fill-types p { color: var(--steel); font-size: .98rem; margin: 0; }

.line-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.line-steps .media { aspect-ratio: 3/4; overflow: hidden; background: #000; border-radius: 4px; margin-bottom: 20px; }
.line-steps .media img, .line-steps .media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.line-steps .n { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 2rem; color: var(--orange); line-height: 1; display: block; margin-bottom: 10px; }
.line-steps h3 { margin-bottom: 8px; }
.line-steps p { color: #C9D1D7; font-size: .98rem; margin: 0; }

.map-band { background: #12171B; color: #fff; }
.map-band .lede { color: #C9D1D7; }
.map-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.map-points { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; }
.map-points h3 { padding-top: 16px; border-top: 3px solid var(--orange); margin-bottom: 8px; }
.map-points p { color: #B8C2C9; margin: 0; font-size: .98rem; }

.cta-dark { background: var(--graphite); color: #fff; }
.cta-dark .lede { color: #C9D1D7; }
.cta-dark .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-dark h2 { max-width: 18ch; }

@media (max-width: 960px) {
  .cup-hero-grid, .map-grid { grid-template-columns: 1fr; }
  .cup-hero-media video { max-height: 520px; max-width: 360px; }
  .fill-types, .line-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .fill-types, .line-steps, .hero-points, .map-points { grid-template-columns: 1fr; }
}
