.csg {
  --csg-ink: #061a15;
  --csg-muted: #5f635f;
  --csg-red: #c53b23;
  --csg-campaign: #e4dcc5;
  --csg-gallery: #f7f6f2;
  --csg-paper: #ffffff;
  --csg-line: rgba(6, 26, 21, 0.16);
  color: var(--csg-ink);
  font-family: Montserrat, Arial, sans-serif;
}

.csg *, .csg *::before, .csg *::after { box-sizing: border-box; }
.csg a { color: inherit; }
.csg__page { width: min(100% - 80px, 1420px); margin-inline: auto; }
.csg__campaign { background: var(--csg-campaign); border-block: 1px solid var(--csg-line); }
.csg__campaign-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(520px, .95fr); gap: 72px; align-items: center; padding-block: 52px; }
.csg__campaign-copy { max-width: 680px; }
.csg__eyebrow { margin: 0 0 12px; color: var(--csg-red); font-size: 12px; font-weight: 700; letter-spacing: .16em; line-height: 1.4; }
.csg__campaign-title, .csg__title { margin: 0; color: var(--csg-ink); font-family: Poppins, Montserrat, sans-serif; font-weight: 600; letter-spacing: -.025em; }
.csg__campaign-title { max-width: 650px; font-size: clamp(30px, 3vw, 46px); line-height: 1.12; }
.csg__campaign-text { max-width: 640px; margin: 18px 0 24px; font-size: 15px; line-height: 1.75; }
.csg__campaign-text a { text-underline-offset: 3px; }
.csg__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin: 0; padding: 0; list-style: none; }
.csg__steps li { min-width: 0; }
.csg__steps span { display: grid; width: 34px; height: 34px; margin-bottom: 16px; place-items: center; border-radius: 50%; background: var(--csg-ink); color: #fff; font-family: Poppins, sans-serif; font-size: 13px; font-weight: 600; }
.csg__steps li:first-child span { background: var(--csg-red); }
.csg__steps strong, .csg__steps small { display: block; }
.csg__steps strong { font-family: Poppins, sans-serif; font-size: 17px; line-height: 1.3; }
.csg__steps small { margin-top: 6px; color: var(--csg-muted); font-size: 12px; line-height: 1.45; }

.csg__gallery { overflow: hidden; background: var(--csg-gallery); }
.csg__gallery > .csg__page { padding-block: 58px 64px; }
.csg__header { display: flex; gap: 32px; align-items: end; justify-content: space-between; margin-bottom: 30px; }
.csg__title { font-size: clamp(30px, 3vw, 44px); line-height: 1.15; }
.csg__subtitle { margin: 12px 0 0; color: var(--csg-muted); font-size: 15px; line-height: 1.6; }
.csg__controls { display: flex; gap: 10px; flex: 0 0 auto; }
.csg__arrow { display: grid; width: 46px; height: 46px; padding: 0; place-items: center; border: 1px solid var(--csg-ink); border-radius: 0; background: transparent; color: var(--csg-ink); cursor: pointer; font: 22px/1 Arial, sans-serif; transition: background-color .2s ease, color .2s ease; }
.csg__arrow:hover, .csg__arrow:focus-visible { background: var(--csg-ink); color: #fff; }
.csg__viewport { width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; scroll-snap-type: x proximity; }
.csg__viewport::-webkit-scrollbar { display: none; }
.csg__viewport:focus-visible { outline: 2px solid var(--csg-red); outline-offset: 5px; }
.csg__track { display: flex; width: max-content; gap: 18px; }
.csg__loop-group { display: flex; gap: 18px; }
.csg__card { display: flex; width: clamp(242px, 20.5vw, 306px); min-width: clamp(242px, 20.5vw, 306px); flex-direction: column; overflow: hidden; border: 1px solid var(--csg-line); border-radius: 8px; background: var(--csg-paper); color: var(--csg-ink); scroll-snap-align: start; text-decoration: none; }
.csg__media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: #e9e8e3; }
.csg__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.csg__card:hover .csg__media img { transform: scale(1.025); }
.csg__media small { position: absolute; right: 10px; bottom: 10px; padding: 5px 7px; background: rgba(255,255,255,.88); color: #303330; font-size: 9px; font-style: normal; letter-spacing: .03em; line-height: 1.2; }
.csg__content { display: flex; min-height: 216px; flex: 1; flex-direction: column; padding: 18px; }
.csg__identity { display: flex; min-width: 0; gap: 11px; align-items: center; }
.csg__identity > span:last-child { min-width: 0; }
.csg__avatar { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--csg-campaign); color: var(--csg-ink); font-family: Poppins, sans-serif; font-size: 13px; font-weight: 600; }
.csg__identity b, .csg__identity em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.csg__identity b { font-family: Poppins, sans-serif; font-size: 13px; font-style: normal; line-height: 1.35; }
.csg__identity em { margin-top: 2px; color: var(--csg-muted); font-size: 10px; font-style: normal; line-height: 1.4; }
.csg__quote { display: -webkit-box; overflow: hidden; margin-top: 18px; color: #333b37; font-family: "Arbutus Slab", Georgia, serif; font-size: 14px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.csg__link { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--csg-line); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.csg__link b { color: var(--csg-red); font-size: 18px; }
.csg__note { margin: 20px 0 0; color: var(--csg-muted); font-size: 10px; line-height: 1.5; }

@media (max-width: 900px) {
  .csg__page { width: min(100% - 40px, 1420px); }
  .csg__campaign-grid { grid-template-columns: 1fr; gap: 34px; padding-block: 40px; }
  .csg__campaign-title { font-size: clamp(28px, 7.5vw, 38px); }
  .csg__campaign-text { margin-block: 14px 20px; font-size: 13px; line-height: 1.65; }
  .csg__steps { gap: 14px; }
  .csg__steps span { width: 30px; height: 30px; margin-bottom: 10px; }
  .csg__steps strong { font-size: 13px; }
  .csg__steps small { font-size: 10px; }
  .csg__gallery > .csg__page { padding-block: 42px 46px; }
  .csg__header { align-items: center; margin-bottom: 22px; }
  .csg__controls { display: none; }
  .csg__title { font-size: 30px; }
  .csg__subtitle { max-width: 310px; font-size: 13px; }
  .csg__track, .csg__loop-group { gap: 12px; }
  .csg__card { width: 70vw; min-width: 70vw; max-width: 310px; }
  .csg__content { min-height: 182px; padding: 15px; }
  .csg__quote { margin-top: 14px; font-size: 13px; -webkit-line-clamp: 2; }
  .csg__link { padding-top: 14px; }
}

@media (max-width: 420px) {
  .csg__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .csg__steps strong { font-size: 12px; }
  .csg__steps small { max-width: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  .csg__media img, .csg__arrow { transition: none; }
  .csg__viewport { scroll-behavior: auto; }
}
