/* ==========================================================================
   Tiza CURB - static landing page
   ========================================================================== */

:root {
  --red: #db0003;
  --red-600: #bd0002;
  --red-050: #fff3f3;
  --ink: #0e1116;
  --ink-soft: #3c434b;
  --muted: #6b7280;
  --line: #e5e8ea;
  --bg: #ffffff;
  --tint: #f5f7f6;
  --dark: #0a0c0e;
  --blue: #5aa9e6;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(10, 12, 14, .05);
  --shadow: 0 22px 48px -28px rgba(10, 12, 14, .35);
  --shadow-lg: 0 44px 88px -36px rgba(10, 12, 14, .45);

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 8.5vw, 118px);
  --header-h: 76px;

  --font-head: "Barlow Semi Condensed", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; }
svg { display: block; }

h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -70px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.icon { flex: none; }

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow--light { color: #ff7a7a; }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.05rem, 3.5vw, 3.35rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -.012em;
  margin-top: 12px;
  color: var(--ink);
}

.section-head { max-width: 760px; }
.section-head--center {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}
.section-head--center .section-title { margin-inline: auto; max-width: 820px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease, color .2s ease,
              border-color .2s ease, box-shadow .2s ease;
}
.btn > .icon { transition: transform .2s ease; }
.btn:hover > .icon { transform: translateX(3px); }

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 14px 28px -16px rgba(219, 0, 3, .8);
}
.btn--primary:hover {
  background: var(--red-600);
  transform: translateY(-1px);
  box-shadow: 0 18px 34px -16px rgba(219, 0, 3, .85);
}

.btn--outline {
  border-color: var(--red);
  color: var(--red);
  background: transparent;
}
.btn--outline:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-1px);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
  background: transparent;
}
.btn--outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .08);
}

.btn--sm { padding: .72rem 1.15rem; font-size: .84rem; }
.btn--block { width: 100%; }

.btn__play {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-left: -4px;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 12px 30px -26px rgba(10, 12, 14, .7);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: .01em;
}
.brand__tag {
  margin-top: 4px;
  font-size: .48rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
}
.brand--light { color: #fff; }
.brand--light .brand__tag { color: rgba(255, 255, 255, .5); }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.1vw, 34px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .2s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__link:hover,
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { display: none; }

.header__actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 5vw, 78px) 0 clamp(64px, 7.5vw, 108px);
  background:
    radial-gradient(120% 110% at 88% -10%, #ffffff 0%, #f7f9f8 48%, #f1f4f3 100%);
}
.hero__deco {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__slash {
  position: absolute;
  top: -150px;
  right: 96px;
  width: 26px;
  height: 440px;
  border-radius: 3px;
  background: linear-gradient(180deg, #ef0a0a, #b00003);
  transform: rotate(27deg);
  opacity: .95;
}
.hero__slash--2 {
  right: 52px;
  top: -110px;
  width: 9px;
  height: 320px;
  opacity: .75;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 1.1fr;
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
}

.hero__content { max-width: 570px; }

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(3.4rem, 6.2vw, 5.9rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.02em;
  margin-top: 10px;
}
.hero__title sup {
  position: relative;
  top: -.62em;
  font-size: .3em;
  vertical-align: baseline;
}

.hero__lede {
  font-family: var(--font-head);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 1.12;
  margin-top: 14px;
  color: var(--ink);
  max-width: 32ch;
}

.hero__copy {
  margin-top: 20px;
  max-width: 52ch;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.feature-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}
.feature-list__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border: 1.5px solid var(--red);
  border-radius: 50%;
  background: #fff;
  color: var(--red);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero__note {
  margin-top: 22px;
  font-size: .82rem;
  color: var(--muted);
}

.msafe-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 8px 16px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: .8rem;
  color: var(--ink-soft);
}
.msafe-badge .icon { color: var(--red); width: 20px; height: 20px; }
.msafe-badge strong { color: var(--ink); font-weight: 600; }

/* Hero media */
.hero__media { position: relative; padding-bottom: 48px; }

.video-card {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.video-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 32%,
              rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, .68) 100%);
  pointer-events: none;
}

.video-card__top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: #fff;
}
.video-card__title {
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.35;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}
.video-card__title sup { font-size: .7em; }
.video-card__share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .74rem;
  color: rgba(255, 255, 255, .9);
}

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6);
  transition: transform .2s ease, background .2s ease;
}
.video-card__play:hover {
  background: var(--red-600);
  transform: translate(-50%, -50%) scale(1.06);
}
.video-card__play .icon { margin-left: 3px; }

.video-card__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 14px;
  color: #fff;
}
.video-card__progress {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .28);
  overflow: hidden;
}
.video-card__progress span {
  display: block;
  width: 4%;
  height: 100%;
  border-radius: inherit;
  background: var(--red);
}
.video-card__time {
  font-size: .7rem;
  color: rgba(255, 255, 255, .85);
  font-variant-numeric: tabular-nums;
}

.hero__product {
  position: absolute;
  right: -30px;
  bottom: -8px;
  z-index: 4;
  width: clamp(132px, 21%, 184px);
  transform: rotate(-3deg);
}
.hero__product svg { width: 100%; height: auto; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: var(--section-y) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark .section-title { color: #fff; }
.section--dark .eyebrow { color: #ff6a6a; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(36px, 5vw, 80px);
}
.split--wide { grid-template-columns: 1.05fr .95fr; }
.split__text > p {
  margin-top: 18px;
  max-width: 56ch;
  font-size: 1rem;
  line-height: 1.78;
  color: var(--ink-soft);
}
.split__text > .btn { margin-top: 30px; }

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(34px, 4vw, 54px);
}

/* --------------------------------------------------------------------------
   Challenge
   -------------------------------------------------------------------------- */
.challenge-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow);
}
.challenge-card__title {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--ink);
}

.challenge-list { list-style: none; margin: 0; padding: 0; }
.challenge-list__item {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: start;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.challenge-list__item:first-child { border-top: 0; padding-top: 12px; }
.challenge-list__num {
  padding-top: 5px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--red);
}
.challenge-list__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border: 1.5px solid var(--red);
  border-radius: 50%;
  background: #fff;
  color: var(--red);
}
.challenge-list__item h4 {
  font-family: var(--font-head);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 4px;
}
.challenge-list__item p {
  font-size: .9rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Check lists
   -------------------------------------------------------------------------- */
.check-list {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .96rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.check-list .icon { margin-top: 1px; color: var(--red); }
.check-list--light li { color: rgba(255, 255, 255, .84); }

/* --------------------------------------------------------------------------
   Introducing / dark band
   -------------------------------------------------------------------------- */
.intro__inner {
  display: grid;
  grid-template-columns: .68fr 1.12fr .92fr;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
}
.intro__media { display: flex; justify-content: center; }
.intro__media svg { width: min(100%, 226px); height: auto; }
.intro__text > p {
  margin-top: 18px;
  max-width: 52ch;
  font-size: 1rem;
  line-height: 1.78;
  color: rgba(255, 255, 255, .72);
}
.intro__text > .btn { margin-top: 28px; }
.intro__inner .check-list { margin-top: 0; }
.intro__inner .check-list li { font-size: .95rem; }

/* --------------------------------------------------------------------------
   Three critical areas
   -------------------------------------------------------------------------- */
.areas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 30px);
  margin-top: clamp(36px, 4.5vw, 56px);
}
.area-card {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.area-card:hover {
  transform: translateY(-4px);
  border-color: #d8dcdf;
  box-shadow: var(--shadow);
}
.area-card__num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
}
.area-card h3 {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 1.7vw, 1.55rem);
  font-weight: 600;
  line-height: 1.15;
  margin-top: 16px;
}
.area-card p {
  margin-top: 10px;
  font-size: .93rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.area-card__art {
  margin-top: auto;
  padding-top: 26px;
}
.area-card__art svg {
  width: 100%;
  max-width: 220px;
  height: auto;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   M-SAFE
   -------------------------------------------------------------------------- */
.msafe__visual { position: relative; }

.rumen-diagram {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}
.rumen-diagram__art {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-inline: auto;
}
.rumen-labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.rumen-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--tint);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
}
.rumen-label__icon { display: grid; place-items: center; color: var(--red); }

.msafe__logo {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-top: 18px;
}
.msafe__logo-mark {
  font-family: var(--font-head);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .02em;
}
.msafe__logo-sub {
  margin-top: 4px;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Roles
   -------------------------------------------------------------------------- */
.roles__layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  align-items: stretch;
  gap: clamp(32px, 4vw, 56px);
  margin-top: clamp(36px, 4.5vw, 56px);
}
.roles__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(26px, 3vw, 44px) clamp(24px, 3.5vw, 52px);
}
.role-card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--red);
}
.role-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 16px;
}
.role-card p {
  margin-top: 8px;
  max-width: 34ch;
  font-size: .93rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.role-photo {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.role-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.role-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, .72) 100%);
}
.role-photo__body {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 22px;
}
.role-photo__body .btn { width: 100%; }

/* --------------------------------------------------------------------------
   Designed for modern dairy
   -------------------------------------------------------------------------- */
.designed__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: stretch;
  gap: clamp(24px, 3vw, 40px);
}

.photo-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .06) 0%, rgba(0, 0, 0, .58) 52%, rgba(0, 0, 0, .9) 100%);
}
.photo-card__body {
  position: relative;
  z-index: 1;
  max-width: 580px;
  padding: clamp(24px, 3vw, 40px);
  color: #fff;
}
.photo-card__body h3 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.08;
  margin-top: 10px;
}
.photo-card__body p:not(.eyebrow) {
  margin-top: 12px;
  font-size: .97rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .82);
}

.panel {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.panel__thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.panel__thumb img { width: 100%; height: 100%; object-fit: cover; }
.panel__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(24px, 2.8vw, 36px);
}
.panel__body h3 {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.15;
}
.panel__body .check-list { margin-bottom: 28px; }
.panel__body > .btn { margin-top: auto; align-self: flex-start; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: start;
  gap: clamp(36px, 5vw, 72px);
}
.contact__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.contact__intro > p {
  margin-top: 18px;
  max-width: 46ch;
  font-size: 1rem;
  line-height: 1.78;
  color: var(--ink-soft);
}
.support-list {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}
.support-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .95rem;
  font-weight: 600;
}
.support-list__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--red);
}

.form-card {
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 22px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.form-grid .field > label { min-height: 2.6em; }
.field label,
.field legend {
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink);
}
.req { color: var(--red); margin-left: 2px; }
.optional { color: var(--muted); font-weight: 400; }

.field input[type="text"],
.field select {
  width: 100%;
  padding: .82rem .95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfc;
  font: inherit;
  font-size: .9rem;
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input::placeholder { color: #9aa1a9; }
.field input[type="text"]:focus,
.field select:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(219, 0, 3, .12);
}

.select-wrap { position: relative; }
.select-wrap select { padding-right: 2.6rem; cursor: pointer; }
.select-wrap__icon {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.field__error {
  min-height: 1em;
  font-size: .73rem;
  line-height: 1.3;
  color: var(--red);
}
.field.is-invalid input[type="text"],
.field.is-invalid select {
  border-color: var(--red);
  background: var(--red-050);
}

.field--checks { margin: 26px 0 0; padding: 0; border: 0; }
.field--checks legend { margin-bottom: 12px; }
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .84rem;
  line-height: 1.45;
  color: var(--ink-soft);
  cursor: pointer;
}
.checkbox input[type="checkbox"] {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1.5px solid #c3c8ce;
  border-radius: 5px;
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.checkbox input[type="checkbox"]:checked {
  border-color: var(--red);
  background: var(--red);
}
.checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1.5px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.checkbox input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.consent { margin-top: 20px; }
.checkbox--consent { font-size: .77rem; color: var(--muted); }
.form-card .btn--block { margin-top: 22px; }
.form-status {
  margin-top: 12px;
  font-size: .84rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.form-status.is-error { color: var(--red); }
.form-status.is-success { color: #0a7a3d; }
.form-note {
  margin-top: 14px;
  font-size: .72rem;
  line-height: 1.5;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(32px, 4vw, 48px);
}
.accordion { border-bottom: 1px solid var(--line); }
.accordion__heading { margin: 0; }
.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 0;
  border: 0;
  background: none;
  font-family: var(--font-body);
  font-size: .98rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: color .2s ease;
}
.accordion__trigger:hover { color: var(--red); }
.accordion__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}
.accordion__icon::before { width: 11px; height: 2px; }
.accordion__icon::after { width: 2px; height: 11px; }
.accordion__trigger[aria-expanded="true"] .accordion__icon {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.accordion__trigger[aria-expanded="true"] .accordion__icon::after {
  transform: scaleY(0);
  opacity: 0;
}
.accordion__panel {
  height: 0;
  overflow: hidden;
  transition: height .34s ease;
}
.accordion__inner { padding-bottom: 22px; }
.accordion__inner p {
  max-width: 58ch;
  font-size: .93rem;
  line-height: 1.72;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Next step
   -------------------------------------------------------------------------- */
.next-step {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 7.5vw, 100px) 0;
  background: var(--dark);
  color: #fff;
}
.next-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 12, 14, .97) 0%, rgba(10, 12, 14, .86) 44%, rgba(10, 12, 14, .38) 100%),
    url("../img/next-step-cows.jpg") center right / cover no-repeat;
}
.next-step__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(36px, 5vw, 64px);
}
.next-step .section-title { color: #fff; }
.next-step__content { max-width: 640px; }
.next-step__content > p {
  margin-top: 18px;
  max-width: 52ch;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .74);
}
.next-step__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.next-step__brand { flex: none; }
.next-step__product {
  margin-top: 28px;
  font-family: var(--font-head);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
}
.next-step__product sup { font-size: .42em; }
.next-step__tagline {
  margin-top: 10px;
  max-width: 300px;
  font-size: .93rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .68);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding: clamp(48px, 6vw, 72px) 0 32px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #07090b;
  color: #fff;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer__nav,
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}
.footer__nav a,
.footer__legal a {
  font-size: .86rem;
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  transition: color .2s ease;
}
.footer__nav a:hover,
.footer__legal a:hover { color: #fff; }
.footer__legal a { font-size: .8rem; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 32px;
  padding-top: 24px;
}
.footer__bottom p {
  max-width: 640px;
  font-size: .71rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .45);
}

/* --------------------------------------------------------------------------
   Video modal
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 9, .82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.modal__dialog {
  position: relative;
  width: min(100%, 960px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-lg);
  transform: scale(.96);
  transition: transform .25s ease;
}
.modal.is-open .modal__dialog { transform: scale(1); }
.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background .2s ease;
}
.modal__close:hover { background: rgba(255, 255, 255, .3); }
.modal__video {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  color: #fff;
}
.modal__video iframe { width: 100%; height: 100%; border: 0; }
.modal__placeholder {
  max-width: 420px;
  padding: 40px;
  text-align: center;
}
.modal__placeholder h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.modal__placeholder p {
  font-size: .9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .65);
}

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1),
              transform .7s cubic-bezier(.2, .7, .2, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .roles__layout { grid-template-columns: 1fr; }
  .role-photo { min-height: 320px; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__intro { position: static; }
  .next-step__inner { flex-direction: column; align-items: flex-start; }
  .next-step__brand { margin-top: 8px; }
}

@media (max-width: 1024px) {
  .header__cta { display: none; }
  .nav-toggle { display: inline-grid; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    max-height: calc(100vh - var(--header-h));
    padding: 14px var(--gutter) 26px;
    overflow-y: auto;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -30px rgba(10, 12, 14, .45);
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__link {
    display: block;
    padding: 15px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .nav__link::after { display: none; }
  .nav__cta { display: inline-flex; margin-top: 18px; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__content { max-width: 640px; }
  .hero__media { max-width: 680px; padding-bottom: 56px; }
  .hero__slash { display: none; }

  .split,
  .split--wide { grid-template-columns: 1fr; }

  .intro__inner { grid-template-columns: .8fr 1.2fr; }
  .intro__inner .check-list { grid-column: 1 / -1; margin-top: 4px; }

  .areas__grid { grid-template-columns: 1fr 1fr; }
  .areas__grid .area-card:last-child { grid-column: 1 / -1; }

  .designed__grid { grid-template-columns: 1fr; }
  .photo-card { min-height: 420px; }

  .faq__grid { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 860px) {
  .areas__grid { grid-template-columns: 1fr; }
  .areas__grid .area-card:last-child { grid-column: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr 1fr; }
  .roles__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }

  .hero__title { font-size: clamp(3rem, 15vw, 4.4rem); }
  .hero__lede { max-width: none; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__product { width: 128px; right: -6px; }
  .video-card__play { width: 60px; height: 60px; }
  .video-card__bar { padding: 10px 14px 12px; }
  .video-card__time { display: none; }

  .hero__slash { display: none; }
  .feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .feature-list__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: .72rem;
  }
  .feature-list__icon { width: 40px; height: 40px; }

  .challenge-list__item { grid-template-columns: auto 1fr; }
  .challenge-list__num { display: none; }

  .intro__inner { grid-template-columns: 1fr; }
  .intro__media { justify-content: flex-start; }
  .intro__media svg { width: 170px; }
  .intro__inner .check-list { grid-column: auto; }

  .roles__grid { grid-template-columns: 1fr; }
  .role-photo { min-height: 300px; }

  .checkbox-grid { grid-template-columns: 1fr; }

  .next-step__actions { flex-direction: column; align-items: stretch; }
  .next-step__actions .btn { width: 100%; }

  .footer__top { flex-direction: column; }
  .footer__bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .hero__media { padding-bottom: 44px; }
  .hero__product { width: 104px; }
  .msafe-badge { font-size: .74rem; }
  .rumen-labels { flex-direction: column; align-items: stretch; }
  .rumen-label { justify-content: center; }
}
