/* Kostychev portfolio. Desktop is built to the 1512px Figma frames; below 1024px a simple one-column layout. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --gutter: 48px;
  --max: 1134px;
  --gap: 32px;

  /* Home + Samanage */
  --navy: #002a55;
  --slate: #435778;
  --slate-2: #54698d;
  --muted: #a4afc3;
  --link: #0069d5;
  --mist: #e7e7ec;
  --line: #cccccc;
  --sm-blue: #04a7ff;
  --sm-pink: #ff0066;

  /* PerfectScale */
  --ps-bg: #111119;
  --ps-text: #cccccc;
  --ps-body: #999999;
  --ps-dim: #666666;
  --ps-teal: #169490;
  --ps-teal-2: #1dbeb9;
  --ps-link: #0094ff;
  --ps-link-dark: #0073c6;
  --ps-line: #383839;
  --ps-border: #2a2a30;
}

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

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

body {
  margin: 0;
  background: #fff;
  color: var(--slate);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; }
a { color: inherit; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 10;
  padding: 8px 12px; background: #fff; color: var(--navy); border-radius: 6px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; }

/* ---------- Shared pieces ---------- */

.site-top { padding-top: 32px; font-size: 14px; font-weight: 500; line-height: 18px; }
.site-top a { text-decoration: none; }
.site-top a:hover { text-decoration: underline; text-underline-offset: 3px; }

.text-link { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }

.divider { border: 0; height: 1px; margin: 0; background: var(--line); }

.section-title { font-size: 40px; font-weight: 800; line-height: 1.3; text-align: center; }
.section-title .sub { display: block; font-size: 24px; font-weight: 400; margin-top: 8px; }

.cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); }
.prose p + p { margin-top: 16px; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; height: 28px; padding: 0 13px;
  border: 1px solid currentColor; border-radius: 17px;
  font-size: 14px; font-weight: 500; line-height: 18px; white-space: nowrap;
}

.proofs { display: grid; gap: 32px; align-content: start; }
.proof { margin: 0; position: relative; font-size: 16px; line-height: 1.4; }
.proof .mark { position: absolute; left: -27px; top: 5px; width: 15px; height: 11px; }
.proof a { display: inline-block; font-weight: 400; }

.btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 18px;
  border: 1px solid currentColor; border-radius: 12px;
  font-size: 20px; font-weight: 600; line-height: 1; text-decoration: none;
  transition: background-color .2s ease;
}
.btn svg { width: 24px; height: 24px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }

.shot img, .media img { width: 100%; height: auto; }
.shot figcaption {
  width: min(940px, 100%); margin: 24px auto 0; text-align: center;
  font-size: 16px; line-height: 1.4;
}

/* Overlapping image collages: positions come from Figma, in % of the 1134px column. */
.collage { position: relative; aspect-ratio: var(--ratio); }
.collage > * { position: absolute; left: var(--x); top: var(--y); width: var(--w); }
.collage > img { height: auto; }

.site-footer { padding: 127px 0 96px; }
.contact { font-size: 20px; line-height: 1.3; display: grid; gap: 16px; justify-items: start; }
.contact a { text-decoration: none; }
.contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.copyright { margin-top: 96px; text-align: center; font-size: 16px; color: var(--slate-2); }

.next-card {
  position: relative; display: flex; align-items: center; gap: 15px;
  width: 260px; height: 90px; padding: 0 25px 0 38px;
  border: 1px solid; border-radius: 20px; text-decoration: none;
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
  transition: transform .2s ease, box-shadow .2s ease;
}
.next-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.next-card .name { display: block; font-size: 20px; font-weight: 600; line-height: 1.4; }
.next-card .kind { display: block; font-size: 14px; line-height: 1.4; }
.next-card svg { width: 32px; height: 32px; flex: none; margin-left: auto; }
.next-card.back { padding: 0 25px; }
.next-card.back svg { margin-left: 0; transform: scaleX(-1); }

/* ---------- Home ---------- */

.page-home .intro { background: var(--mist); padding-bottom: 96px; }
.page-home .site-top { color: var(--slate); }
.page-home .headline { margin-top: 76px; text-align: center; color: var(--navy); font-size: 40px; font-weight: 800; line-height: 1.3; }
.page-home .lede { width: min(824px, 100%); margin: 32px auto 0; text-align: center; font-size: 24px; line-height: 1.4; }
.page-home .who { margin-top: 64px; }
.page-home .who h2 { font-size: 32px; font-weight: 600; line-height: 42px; }
.page-home .who .role { margin-top: 8px; font-size: 20px; line-height: 1.4; }
.page-home .acq h2 { color: var(--navy); font-size: 20px; font-weight: 600; line-height: 1.7; }
.page-home .acq ul { margin-top: 9px; margin-left: -30px; padding-left: 30px; font-size: 20px; line-height: 1.7; }
.page-home .acq a { font-weight: 700; }

.project { padding-top: 96px; overflow: hidden; }
.project .cols { align-items: start; }
.project .media { align-self: end; overflow: hidden; }
.project .copy { padding-bottom: 64px; }
.project .logo { height: auto; }
.project h2 { margin-top: 40px; font-size: 24px; font-weight: 800; line-height: 1.3; }
.project p { margin-top: 16px; font-size: 20px; line-height: 1.6; }
.project .btn { margin-top: 40px; }

.project-ps { background: linear-gradient(#202031, #000); color: var(--ps-text); }
.project-ps .media {
  aspect-ratio: 551 / 400; border: 1px solid var(--ps-border); border-bottom: 0;
  border-radius: 15px 15px 0 0; box-shadow: 0 20px 100px rgba(3,3,4,.8);
}
.project-ps .copy { padding-left: calc(97 / 551 * 100%); }
.project-ps .btn { color: var(--ps-teal); }
.project-ps .btn:hover { background: rgba(22,148,144,.12); }

.project-sm { background: var(--mist); padding-top: 96px; }
.project-sm .media { margin-top: 4px; border-radius: 8px 8px 0 0; box-shadow: 0 20px 40px rgba(0,0,0,.15); }
.project-sm .copy { padding-right: calc(97 / 551 * 100%); }
.project-sm .btn { color: var(--slate); border-color: var(--slate-2); }
.project-sm .btn:hover { background: rgba(84,105,141,.1); }

.about { padding-top: 96px; }
.about .portrait { width: calc(357 / 551 * 100%); margin-left: calc(97 / 551 * 100%); margin-top: 70px; }
.about .portrait img { width: 100%; }
.about .contact { margin: 96px 0 0 calc(97 / 551 * 100%); gap: 18px; color: var(--link); }
.about h2 { font-size: 24px; font-weight: 800; line-height: 1.3; }
.about .prose { margin-top: 32px; font-size: 18px; line-height: 1.7; }
.about .prose p + p { margin-top: 12px; }
.page-home .site-footer { padding-top: 126px; }
.page-home .copyright { margin-top: 0; }

/* ---------- Case studies (shared) ---------- */

.cs-grid { display: grid; grid-template-columns: 357px 1fr; column-gap: 32px; }
.cs-hero .cs-grid { padding-top: 48px; }
.cs-hero .side { padding-bottom: 40px; }
.cs-hero .media { position: relative; align-self: end; }
.cs-hero .frame { overflow: hidden; }
.cs-hero .frame img { width: 100%; }
.cs-hero .dates { font-size: 16px; line-height: 1.5; }
.cs-hero .dates strong { display: block; font-size: 18px; font-weight: 600; }
.badge { position: absolute; display: block; }
.badge img { width: 100%; }

.cs-band { position: relative; z-index: 1; }
.cs-band h1 { font-size: 40px; font-weight: 800; line-height: 1.3; }
.cs-band .prose { margin-top: 24px; font-size: 18px; line-height: 1.4; }
.cs-band .proof { max-width: 260px; }

.gallery { position: relative; z-index: 2; display: grid; }
.gallery .shot img { width: 100%; }

.cs-section { padding: 97px 0 126px; }
.cs-section .section-title + * { margin-top: 80px; }

/* ---------- PerfectScale ---------- */

.page-ps { background: var(--ps-bg); color: var(--ps-body); }
.page-ps .site-top { color: var(--ps-dim); }
.page-ps .cs-hero { background: linear-gradient(#1c1c23, #222227); }
.page-ps .role { margin-top: 48px; color: var(--ps-text); font-size: 24px; font-weight: 600; line-height: 1.29; }
.page-ps .role small { color: var(--ps-dim); font-size: 14px; font-weight: 400; line-height: 1.73; }
.page-ps .chips { margin-top: 32px; color: var(--ps-teal); }
.page-ps .chip { border-color: rgba(22,148,144,.6); }
.page-ps .dates { margin-top: 32px; color: var(--ps-body); }
.page-ps .dates strong { color: var(--ps-teal-2); }
.page-ps .cs-hero .proofs { margin-top: 73px; }
.page-ps .cs-hero .proof { color: var(--ps-body); }
.page-ps .cs-hero .proof:nth-child(1) { max-width: 290px; }
.page-ps .cs-hero .proof:nth-child(2) { max-width: 275px; }
.proof a { white-space: nowrap; }
.page-ps .cs-hero .proof a { color: var(--ps-link); }
.page-ps .cs-hero .mark { color: var(--ps-dim); }
.page-ps .cs-hero .frame {
  aspect-ratio: 745 / 657; border: 1px solid var(--ps-border); border-bottom: 0;
  border-radius: 15px 15px 0 0; box-shadow: 0 20px 200px rgba(3,3,4,.8);
}
.page-ps .cs-hero { overflow-x: clip; }
.page-ps .badge { width: calc(115 / 745 * 100%); left: calc(100% + 2px); top: calc(482 / 657 * 100%); }

.page-ps .cs-band { background: linear-gradient(#d4d4d4, #a7a7a7 calc(100% - 0px)); color: #000; padding: 64px 0 326px; }
.page-ps .cs-band .proofs { padding-top: 72px; }
.page-ps .cs-band .proof { color: #000; }
.page-ps .cs-band .proof a { color: var(--ps-link-dark); font-weight: 500; }
.page-ps .cs-band .prose a { color: inherit; }

.page-ps .gallery { margin-top: -220px; gap: 80px; }
.page-ps .shot img { border: 1px solid var(--ps-border); border-radius: 12px; box-shadow: 0 60px 100px rgba(0,0,0,.3); }
.page-ps .shot figcaption { color: var(--ps-body); }
.page-ps .gallery-end { padding-bottom: 126px; }
.page-ps .divider { background: var(--ps-line); }
.page-ps .section-title { color: var(--ps-text); }
.page-ps .section-title em { font-style: normal; color: var(--ps-teal-2); }
.page-ps .section-title .sub { color: var(--ps-body); }
.page-ps .prose { font-size: 16px; line-height: 1.7; }

.workload { width: calc(891 / 1134 * 100%); margin-inline: auto; }
.workload img { border: 1px solid var(--ps-border); border-radius: 15px; box-shadow: 0 60px 100px rgba(0,0,0,.3); }
.page-ps .workload + .cols { margin-top: 80px; }

.agents img { border: 1px solid var(--ps-border); border-radius: 15px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.agents + .prose { margin: 80px 0 0 calc(292 / 1134 * 100%); width: calc(453 / 1134 * 100%); }

.icons { background: linear-gradient(#191925, #212133); padding-top: 126px; }
.icons .grid-scroll { width: calc(938 / 1134 * 100%); margin-left: calc(98 / 1134 * 100%); }
.icons .grid-scroll img { width: 100%; }
.icons .lower { margin-top: 96px; display: grid; grid-template-columns: 97fr 454fr 129fr 454fr; }
.icons .feature { grid-column: 2; display: grid; justify-items: center; padding-top: 29px; }
.icons .feature .big { width: calc(259 / 454 * 100%); }
.icons .row { margin-top: 74px; width: 100%; display: flex; justify-content: space-between; }
.icons .row img { width: 65px; height: 65px; }
.icons .prose { grid-column: 4; }

.announce img { border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.announce + .prose { margin: 80px 0 0 calc(389 / 1134 * 100%); width: calc(551 / 1134 * 100%); }

.page-ps .site-footer .wrap { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); align-items: center; }
.page-ps .contact { justify-self: end; color: var(--ps-link); }
.page-ps .next-card { justify-self: start; margin-left: calc(97 / 551 * 100%); border-color: #444; color: var(--ps-body); }
.page-ps .next-card .kind { color: var(--ps-dim); }
.page-ps .next-card svg { color: var(--ps-dim); }

/* ---------- Samanage ---------- */

.page-sm { color: var(--slate); }
.page-sm .site-top { color: var(--slate); }
.page-sm .chips { margin-top: 82px; color: var(--sm-blue); }
.page-sm .dates { margin-top: 32px; color: var(--slate); }
.page-sm .dates strong { color: var(--sm-pink); }
.page-sm .cs-hero .proofs { margin-top: 46px; }
.page-sm .cs-hero .side { padding-bottom: 0; }
.page-sm .cs-hero .mark { color: var(--slate-2); }
.page-sm .proof a { color: var(--link); }
.page-sm .cs-hero .badge { position: relative; z-index: 2; display: block; width: 148px; margin: -7px 0 0 260px; }
.page-sm .cs-hero .main { display: flex; flex-direction: column; }
.page-sm .role { margin-top: -8px; margin-bottom: 60px; width: 420px; color: var(--slate); font-size: 24px; font-weight: 600; line-height: 1.29; }
.page-sm .cs-hero .media { margin-top: auto; }
.page-sm .cs-hero .frame {
  aspect-ratio: 745 / 543; border: 1px solid #dadada; border-bottom: 0;
  border-radius: 8px 8px 0 0; box-shadow: 0 20px 40px rgba(0,0,0,.15);
}

.page-sm .cs-band { background: linear-gradient(#f3f3f3, #f6f6f6); padding: 64px 0 379px; }
.page-sm .cs-band h1 { color: var(--navy); }
.page-sm .cs-band .proofs { padding-top: 12px; }
.page-sm .cs-band .proof a { color: #0073c6; font-weight: 500; }

.page-sm .gallery { margin-top: -283px; gap: 60px; }
.page-sm .shot figcaption { margin-top: 0; color: var(--slate-2); line-height: 1.4; }
.page-sm .gallery-end { padding-bottom: 126px; }
.page-sm .section-title { color: var(--navy); }
.page-sm .section-title .sub { color: var(--slate-2); }
.page-sm .prose { font-size: 16px; line-height: 1.7; }
.page-sm .prose h3 { font-size: 16px; font-weight: 700; line-height: 1.7; margin-bottom: 16px; }
.page-sm .prose a { color: inherit; }

.salesforce img { border: 1px solid #dadada; border-radius: 8px; box-shadow: 0 20px 40px rgba(0,0,0,.15); }
.page-sm .cols + .salesforce { margin-top: 80px; }
.salesforce-section { padding-bottom: 156px; }
.salesforce-section .section-title + .cols { margin-top: 64px; }
.page-sm .sf-prose { line-height: 1.3; }
.page-sm .sf-prose h3 { line-height: 1.3; }
.rebrand { padding-top: 96px; }

.full-bleed img { width: 100%; }

.logo-cards { margin-top: 96px; }
.logo-card { display: grid; place-items: center; aspect-ratio: 551 / 334; border-radius: 20px; }
.logo-card.new { background: var(--navy); }
.logo-card.old { background: #0067b3; }
.logo-card.new img { width: calc(181 / 551 * 100%); }
.logo-card.old img { width: calc(226 / 551 * 100%); }
.logo-cards figcaption { margin-top: 8px; text-align: center; color: var(--muted); font-size: 16px; }
.rounded { border-radius: 20px; }
.stack { display: grid; gap: 80px; margin-top: 97px; }

.sam-ai .section-title + .media { margin-top: 80px; }
.brand-strip { margin-top: 0; }
.brand-strip img { width: 100%; }
.sam-uses { position: relative; margin-top: 80px; aspect-ratio: 1134 / 365; }
.sam-uses figure { position: absolute; top: 0; }
.sam-uses .ui { left: calc(287 / 1134 * 100%); width: calc(190 / 1134 * 100%); top: calc(15 / 373 * 100%); }
.sam-uses .mkt { left: calc(647 / 1134 * 100%); width: calc(487 / 1134 * 100%); }
.sam-uses figcaption, .sam-poses-wrap figcaption { margin-top: 48px; text-align: center; font-size: 16px; line-height: 1.4; color: var(--slate-2); white-space: nowrap; }
.sam-uses .mkt figcaption { width: calc(206 / 487 * 100%); overflow: visible; display: flex; justify-content: center; }
.sam-poses-wrap { margin-top: 96px; padding-top: 97px; border-top: 1px solid var(--line); }
.sam-poses-wrap img { width: calc(984 / 1134 * 100%); margin-inline: auto; }
.sam-poses-wrap figcaption { margin-top: 73px; white-space: normal; }

.page-sm .site-footer .wrap { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); align-items: center; }
.page-sm .next-card { margin-left: calc(198 / 551 * 100%); background: #fff; border-color: #d8dde6; color: var(--slate-2); }
.page-sm .next-card .kind { color: var(--muted); }
.page-sm .next-card svg { color: var(--muted); }
.page-sm .contact { color: var(--link); padding-left: calc(97 / 551 * 100%); }

/* ---------- Narrower desktops ---------- */


/* ---------- Mobile: one column ---------- */

@media (max-width: 1023px) {
  :root { --gutter: 20px; }

  .cols, .cs-grid,
  .page-ps .site-footer .wrap, .page-sm .site-footer .wrap { grid-template-columns: 1fr; }

  .section-title { font-size: 28px; }
  .section-title .sub { font-size: 18px; }
  .cs-section { padding: 56px 0 64px; }
  .cs-section .section-title + * { margin-top: 32px; }
  .prose { font-size: 16px !important; }
  .cols > * + * { margin-top: 16px; }

  /* Home */
  .page-home .intro { padding-bottom: 48px; }
  .page-home .headline { margin-top: 40px; font-size: 30px; text-align: left; }
  .page-home .lede { margin-top: 16px; font-size: 19px; text-align: left; }
  .page-home .who { margin-top: 32px; row-gap: 24px; }
  .page-home .who h2 { font-size: 26px; line-height: 1.3; }
  .page-home .who .role, .page-home .acq h2, .page-home .acq ul { font-size: 17px; }
  .page-home .acq ul { margin-left: 0; padding-left: 22px; }

  .project { padding-top: 48px; }
  .project .cols { display: flex; flex-direction: column; }
  .project .copy { order: 1; padding: 0 0 40px !important; }
  .project .media { order: 2; width: 100%; }
  .project .logo { width: 170px; }
  .project h2 { margin-top: 28px; font-size: 22px; }
  .project p { font-size: 17px; }
  .project .btn { margin-top: 28px; font-size: 18px; }

  .about { padding-top: 56px; }
  .about .cols { display: flex; flex-direction: column; }
  .about .side { display: contents; }
  .about .portrait { order: 0; width: 200px; margin: 0 0 32px; }
  .about .text { order: 1; }
  .about .contact { order: 2; margin: 32px 0 0; font-size: 18px; }
  .about .prose { margin-top: 20px; font-size: 16px; }
  .page-home .site-footer { padding: 64px 0 48px; }

  /* Case study heroes */
  .cs-hero .cs-grid { padding-top: 0; }
  .cs-hero .side { padding: 40px 0 32px; display: flex; flex-direction: column; }
  .cs-hero .logo { width: 180px; }
  .page-ps .role, .page-sm .role { margin-top: 24px; font-size: 20px; width: auto; }
  .page-ps .chips, .page-sm .chips, .page-ps .dates, .page-sm .dates { margin-top: 24px; }
  .page-ps .cs-hero .proofs, .page-sm .cs-hero .proofs { margin-top: 32px; padding-left: 24px; }
  .cs-hero .proof .mark { left: -24px; }
  .page-sm .cs-hero .main, .page-sm .cs-hero .side { display: contents; }
  .page-sm .cs-hero .logo { order: 0; margin-top: 40px; }
  .page-sm .cs-hero .role { order: 1; margin: 24px 0 0; }
  .page-sm .cs-hero .chips { order: 2; }
  .page-sm .cs-hero .dates { order: 3; }
  .page-sm .cs-hero .proofs { order: 4; }
  .page-ps .cs-hero .badge, .page-sm .cs-hero .badge { display: none; }
  .page-sm .cs-hero .proofs { margin-bottom: 32px; }
  .page-sm .cs-hero .media { order: 6; margin-top: 0; }

  .cs-band { padding-top: 40px !important; }
  .cs-band h1 { font-size: 28px; }
  .cs-band .main { order: 1; }
  .cs-band .proofs { order: 2; padding-top: 32px !important; }
  .cs-band .cs-grid { display: flex; flex-direction: column; }
  .page-ps .cs-band { padding-bottom: 160px; }
  .page-sm .cs-band { padding-bottom: 160px; }
  .page-ps .gallery, .page-sm .gallery { margin-top: -120px; gap: 48px; }
  .shot figcaption { margin-top: 16px; font-size: 15px; text-align: left; }
  .page-sm .shot figcaption { margin-top: 4px; }
  .gallery-end { padding-bottom: 64px !important; }

  .workload { width: 100%; }
  .page-ps .workload + .cols { margin-top: 32px; }
  .collage { aspect-ratio: auto; display: grid; gap: 16px; }
  .collage > * { position: static; width: 100%; }
  .agents + .prose, .announce + .prose { margin: 32px 0 0; width: auto; }
  .page-sm .cols + .salesforce { margin-top: 32px; }
  .salesforce-section { padding-bottom: 64px; }

  .icons .grid-scroll { width: auto; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); overflow-x: auto; }
  .icons .grid-scroll img { width: 760px; max-width: none; }
  .icons .lower { display: flex; flex-direction: column; margin-top: 40px; }
  .icons .feature { padding-top: 0; }
  .icons .feature .big { width: 160px; }
  .icons .row { margin-top: 32px; }
  .icons .row img { width: 48px; height: 48px; }
  .icons .prose { margin-top: 32px; }

  .logo-cards { margin-top: 32px; }
  .logo-cards figure + figure { margin-top: 24px; }
  .stack { gap: 24px; margin-top: 40px; }
  .sam-ai .section-title + .media { margin-top: 32px; }
  .sam-uses { aspect-ratio: auto; display: grid; gap: 40px; justify-items: center; margin-top: 40px; }
  .sam-uses figure { position: static; width: auto !important; }
  .sam-uses .ui img { width: 150px; margin-inline: auto; }
  .sam-uses .mkt img { width: 100%; }
  .sam-uses figcaption, .sam-uses .mkt figcaption { width: auto; margin-top: 16px; font-size: 15px; white-space: normal; }
  .sam-poses-wrap { margin-top: 40px; padding-top: 40px; }
  .sam-poses-wrap img { width: 100%; }
  .sam-poses-wrap figcaption { margin-top: 24px; font-size: 15px; }

  .site-footer { padding: 56px 0 48px; }
  .site-footer .wrap { row-gap: 40px; }
  .page-ps .contact, .page-sm .contact { padding-left: 0; order: 2; justify-self: start; font-size: 18px; }
  .page-ps .next-card, .page-sm .next-card { margin-left: 0; order: 1; }
  .copyright { margin-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
