/* Caterman — Sustainability page. Builds on the shared .cm-os editorial system
   (ourstory.css). Adds the video header, the in-house detail list, and the CTA. */

/* video header — home.mp4 as an animated background, title bottom-left like the hero */
.cm-sus-vhero {
  position: relative; min-height: clamp(620px, 90vh, 980px);  /* consistent with Our Story + event subpage heroes */
  display: flex; align-items: flex-end; overflow: hidden;
  background: #000;
}
.cm-sus-vhero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.cm-sus-vhero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.12) 38%, rgba(0,0,0,.8) 100%);
}
/* spotty overlay over the video — replicates Zion's gridOverlay--1 (as on the Our Story hero) */
.cm-sus-vhero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .4;
  background-image: linear-gradient(to right top, transparent 33%, #000 33%, #000 66%, transparent 66%);
  background-size: 3px 3px;
}
.cm-sus-vhero__inner {
  position: relative; z-index: 2;
  width: 88vw; max-width: 1180px; margin: 0 auto;   /* 88vw = 6vw gutters; aligns title to the 130px content edge (matches text heroes) without padding-insetting the title */
  padding: 0 0 clamp(54px, 8vw, 104px);
}
.cm-sus-vhero__title {
  margin: 0; color: #fff;
  font-family: 'Roboto Condensed', 'Manrope', sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(46px, 9vw, 132px); line-height: .9; letter-spacing: -.04em;
  text-shadow: 0 2px 40px rgba(0,0,0,.5);
}
.cm-sus-vhero__foot {
  margin: 16px 0 0; color: #e7e7e7;
  font-family: 'Manrope', system-ui, sans-serif; font-weight: 400;
  font-size: 13px; letter-spacing: .04em;
}

/* CTA pill — matches the homepage hero button (kept; this is a button, not an eyebrow) */
.cm-sus-pill {
  display: inline-block; margin-top: 24px;
  padding: 8px 26px; border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px; background: #000;
  font-family: 'Roboto Condensed', 'Manrope', sans-serif; font-weight: 700;
  font-size: clamp(24px, 2.9vw, 42px); text-transform: uppercase; line-height: 1.15;  /* big, matches the salad-bowl hero CTA */
  color: #fff; text-decoration: none; transition: background .25s cubic-bezier(.16,1,.3,1);
}
.cm-sus-pill:hover { background: rgba(255,255,255,.12); }
.cm-sus-pill--lg { margin-top: 30px; padding: 12px 34px; font-size: clamp(20px, 2vw, 30px); }

/* "Real Food, Made In-House" — editorial detail list (no cards, no numbers) */
.cm-sus-list {
  margin-top: clamp(44px, 6vw, 76px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(40px, 6vw, 96px);
}
.cm-sus-list__item {
  padding: clamp(26px, 3vw, 40px) 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.cm-sus-list__title {
  margin: 0 0 12px; color: #fff;
  font-family: 'Roboto Condensed', 'Manrope', sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(22px, 2.4vw, 34px); line-height: 1.04; letter-spacing: -.02em;
}
.cm-sus-list__desc {
  margin: 0; max-width: 46ch;
  font-size: clamp(15px, 1.35vw, 17px); line-height: 1.6; color: #b6b6b6;
}

/* Real Food section polish: tighten the gap above the title (this section's top +
   the philosophy section's bottom), let the intro span full width (like Our Story's
   How We Work), and trim the space under the grid (this bottom + planning top). */
.cm-sus .cm-os-section:has(.cm-os-statement) { padding-bottom: clamp(40px, 6vw, 72px); }
.cm-sus .cm-os-section:has(.cm-sus-list) { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(44px, 6vw, 80px); }
.cm-sus .cm-os-section:has(.cm-sus-head--sm) { padding-top: clamp(44px, 6vw, 80px); }
.cm-sus .cm-os-section:has(.cm-sus-list) .cm-os-head-block,
.cm-sus .cm-os-section:has(.cm-sus-list) .cm-os-intro { max-width: none; }

/* smaller section head for the side-by-side responsible-planning block */
.cm-sus-head--sm { font-size: clamp(30px, 4.2vw, 56px) !important; }

/* commitment block */
.cm-sus-commit { max-width: 760px; }
.cm-sus-commit .cm-os-journey__p { margin-top: 24px; max-width: 60ch; }

/* CTA section */
.cm-sus-cta { border-top: 1px solid rgba(255, 255, 255, .1); text-align: left; }
.cm-sus-cta .cm-os-head { max-width: 16ch; }
.cm-sus-cta__links { margin: 22px 0 0; font-size: clamp(14px, 1.3vw, 16px); color: #9a9a9a; }
.cm-sus-cta__links a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); }
.cm-sus-cta__links a:hover { text-decoration-color: #fff; }

@media (max-width: 820px) {
  .cm-sus-list { grid-template-columns: 1fr; gap: 0; }
  .cm-sus-list__item:first-child { border-top: none; }
}
