body.page-id-5597 {
  --reference-green: var(--asta-color-green);
  --reference-deep-green: #20392a;
  --reference-ink: #202923;
  --reference-copy: #59645d;
  --reference-border: #dce7d8;
  --reference-pale: #f3f7f1;
  color: var(--reference-ink);
}

body.page-id-5597 main.asta-content { max-width: none; padding: 0 0 clamp(64px, 8vw, 112px); }
body.page-id-5597 .wp-block-post-content { max-width: none; }
body.page-id-5597 .wp-block-post-content > .wp-block-shortcode { margin: 0; }
body.page-id-5597 .asta-references {
  box-sizing: border-box;
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  overflow: clip;
}

body.page-id-5597 .asta-references__hero {
  box-sizing: border-box;
  display: block;
  width: 100vw;
  max-width: none;
  min-height: 0 !important;
  margin: 0 calc(50% - 50vw) clamp(66px, 8vw, 100px);
  padding: 56px max(24px, calc((100vw - 1240px) / 2)) 68px;
  border-radius: 0;
  background:
    radial-gradient(ellipse at 90% 12%, rgb(71 160 19 / 14%), transparent 31%),
    linear-gradient(115deg, #f7faf5 0%, var(--asta-color-green-soft) 100%);
}

body.page-id-5597 .asta-references__hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
  align-items: center;
  gap: clamp(40px, 8vw, 116px);
  width: min(calc(100vw - 48px), 1240px);
  margin-inline: auto;
}

body.page-id-5597 .asta-references__hero-copy h1 {
  max-width: 15ch;
  margin: 0 0 22px;
  color: var(--reference-ink);
  font-size: clamp(2.5rem, 5.2vw, 4.35rem);
  font-weight: 750;
  line-height: 1.03;
  letter-spacing: -.045em;
}

body.page-id-5597 .asta-references__lead {
  max-width: 68ch;
  margin: 0;
  color: #4f5e53;
  font-size: clamp(1.06rem, 1.35vw, 1.23rem);
  line-height: 1.75;
}

body.page-id-5597 .asta-references__hero-note {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 17px;
  row-gap: 14px;
  padding: 26px 0 26px 28px;
  border-left: 1px solid rgb(71 160 19 / 35%);
}

body.page-id-5597 .asta-references__hero-number {
  color: var(--reference-green);
  font-size: clamp(4.5rem, 7vw, 6.4rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.07em;
}

body.page-id-5597 .asta-references__hero-label {
  color: var(--reference-ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

body.page-id-5597 .asta-references__hero-rule {
  grid-column: 1 / -1;
  width: 100%;
  height: 1px;
  background: var(--reference-border);
}

body.page-id-5597 .asta-references__hero-docs {
  grid-column: 1 / -1;
  color: var(--reference-copy);
  font-size: .92rem;
}

body.page-id-5597 .asta-references__intro,
body.page-id-5597 .asta-references__directory {
  width: min(calc(100vw - 48px), 1240px);
  margin-inline: auto;
}

body.page-id-5597 .asta-references__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
  align-items: end;
  gap: clamp(36px, 7vw, 96px);
  margin-bottom: clamp(76px, 9vw, 116px);
}

body.page-id-5597 .asta-references__section-heading h2,
body.page-id-5597 .asta-references__directory-heading h2,
body.page-id-5597 .asta-references__closing h2 {
  margin: 0;
  color: var(--reference-ink);
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -.035em;
}

body.page-id-5597 .asta-references__section-heading > p,
body.page-id-5597 .asta-references__directory-heading > div > p {
  max-width: 68ch;
  margin: 18px 0 0;
  color: var(--reference-copy);
  font-size: 1.04rem;
  line-height: 1.75;
}

body.page-id-5597 .asta-references__scope {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--reference-border);
}

body.page-id-5597 .asta-references__scope > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border-bottom: 1px solid var(--reference-border);
  color: #39463c;
  font-size: .94rem;
  line-height: 1.45;
}

body.page-id-5597 .asta-references__scope-mark {
  color: var(--reference-green);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
}

body.page-id-5597 .asta-references__directory { margin-bottom: clamp(76px, 10vw, 128px); }

body.page-id-5597 .asta-references__directory-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 30px;
}

body.page-id-5597 .asta-references__directory-count {
  flex: 0 0 auto;
  padding: 10px 15px;
  border: 1px solid var(--reference-border);
  border-radius: 999px;
  color: var(--reference-deep-green);
  font-size: .88rem;
  font-weight: 700;
}

body.page-id-5597 .asta-references__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
}

body.page-id-5597 .asta-reference-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--reference-border);
  border-radius: 17px;
  background: var(--asta-color-white);
  box-shadow: 0 10px 28px rgb(32 41 35 / 4%);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

body.page-id-5597 .asta-reference-card:hover {
  transform: translateY(-3px);
  border-color: #c5d8bd;
  box-shadow: 0 18px 36px rgb(32 41 35 / 8%);
}

body.page-id-5597 .asta-reference-card__brand {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
  min-height: 116px;
  padding: 20px 24px;
  background: var(--reference-pale);
}

body.page-id-5597 .asta-reference-card__logo {
  display: block;
  width: auto;
  max-width: min(100%, 210px);
  max-height: 44px;
  flex: 0 1 auto;
  object-fit: contain;
  object-position: left center;
  border-radius: 0 !important;
}

body.page-id-5597 .asta-reference-card__wordmark {
  display: block;
  max-width: 100%;
  color: #25352b;
  font-size: clamp(1.12rem, 1.45vw, 1.42rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

body.page-id-5597 .asta-reference-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 23px 24px 20px;
}

body.page-id-5597 .asta-reference-card__industry {
  align-self: flex-start;
  margin: 0 0 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f2f7ef;
  color: #3c702a;
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.3;
}

body.page-id-5597 .asta-reference-card h3 {
  margin: 0;
  color: var(--reference-ink);
  font-size: 1.22rem;
  font-weight: 750;
  line-height: 1.28;
  letter-spacing: -.02em;
}

body.page-id-5597 .asta-reference-card__description,
body.page-id-5597 .asta-reference-card__project p {
  margin: 13px 0 0;
  color: var(--reference-copy);
  font-size: .91rem;
  line-height: 1.65;
}

body.page-id-5597 .asta-reference-card__project {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e8eee5;
}

body.page-id-5597 .asta-reference-card__project h4 {
  margin: 0;
  color: #39483d;
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.4;
}

body.page-id-5597 .asta-reference-card__project p { margin-top: 7px; }

body.page-id-5597 .asta-reference-card__facts {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid #e8eee5;
}

body.page-id-5597 .asta-reference-card__facts > div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 10px;
  font-size: .8rem;
  line-height: 1.45;
}

body.page-id-5597 .asta-reference-card__facts dt { color: #737e75; }
body.page-id-5597 .asta-reference-card__facts dd { margin: 0; color: #354339; font-weight: 650; }

body.page-id-5597 .asta-reference-card__documents {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 17px 24px 21px;
  border-top: 1px solid #e8eee5;
}

body.page-id-5597 .asta-reference-card__documents a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #398819;
  font-size: .86rem;
  font-weight: 750;
  line-height: 1.4;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.page-id-5597 .asta-reference-card__documents a:hover { color: #285f19; }
body.page-id-5597 .asta-reference-card__documents a span:last-child { font-size: 1.1rem; text-decoration: none; }

body.page-id-5597 .asta-references__closing {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 8vw, 110px);
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding: clamp(44px, 6vw, 72px) max(24px, calc((100vw - 1240px) / 2));
  background: linear-gradient(112deg, #20392a 0%, #17271f 100%);
  color: var(--asta-color-white);
}

body.page-id-5597 .asta-references__closing h2 { color: var(--asta-color-white); }
body.page-id-5597 .asta-references__closing > p { margin: 0; color: rgb(255 255 255 / 82%); font-size: 1rem; line-height: 1.8; }

/* Outrank the shared page-hero sizing so its padding stays inside the mobile viewport. */
body.page.page-id-5597 main.asta-content .wp-block-post-content .asta-references__hero {
  box-sizing: border-box !important;
  width: 100vw !important;
  padding-inline: max(24px, calc((100vw - 1240px) / 2)) !important;
}

body.page.page-id-5597 main.asta-content .wp-block-post-content .asta-references__closing {
  box-sizing: border-box;
}

@media (max-width: 980px) {
  body.page-id-5597 .asta-references__hero-inner { grid-template-columns: minmax(0, 1fr) 240px; gap: 40px; }
  body.page-id-5597 .asta-references__intro { grid-template-columns: 1fr; gap: 28px; }
  body.page-id-5597 .asta-references__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body.page-id-5597 .asta-references__hero { margin-bottom: 56px; padding-block: 38px 48px; }
  body.page-id-5597 .asta-references__hero-inner { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  body.page-id-5597 .asta-references__hero-copy h1 { max-width: 12ch; margin-bottom: 16px; font-size: clamp(2.45rem, 11vw, 3.45rem); }
  body.page-id-5597 .asta-references__lead { font-size: 1rem; line-height: 1.65; }
  body.page-id-5597 .asta-references__hero-note { grid-template-columns: auto 1fr; padding: 20px 0 0; border-top: 1px solid rgb(71 160 19 / 35%); border-left: 0; }
  body.page-id-5597 .asta-references__hero-number { font-size: 4.7rem; }
  body.page-id-5597 .asta-references__intro,
  body.page-id-5597 .asta-references__directory { width: min(calc(100vw - 36px), 1240px); }
  body.page-id-5597 .asta-references__hero-inner { width: min(calc(100vw - 48px), 1240px); }
  body.page-id-5597 .asta-references__section-heading h2,
  body.page-id-5597 .asta-references__directory-heading h2,
  body.page-id-5597 .asta-references__closing h2 { font-size: clamp(1.8rem, 8vw, 2.35rem); }
  body.page-id-5597 .asta-references__directory-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  body.page-id-5597 .asta-references__grid { grid-template-columns: 1fr; gap: 16px; }
  body.page-id-5597 .asta-reference-card__brand { min-height: 100px; padding: 17px 20px; }
  body.page-id-5597 .asta-reference-card__body { padding: 20px; }
  body.page-id-5597 .asta-reference-card__documents { padding: 15px 20px 18px; }
  body.page-id-5597 .asta-references__closing { grid-template-columns: 1fr; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-5597 .asta-reference-card { transition: none; }
  body.page-id-5597 .asta-reference-card:hover { transform: none; }
}

/* References: use the same inquiry form pattern as the offer pages and give each scan equal space with its profile. */
body.page-id-5597 .asta-references__hero {
  padding-block: clamp(48px, 6vw, 78px);
  margin-bottom: clamp(60px, 7vw, 88px);
}

body.page-id-5597 .asta-references__hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

body.page-id-5597 .asta-references__hero-copy { align-self: center; }

body.page-id-5597 .asta-references__hero-copy h1 {
  max-width: 12ch;
  margin-bottom: 20px;
  font-size: clamp(2.65rem, 4.5vw, 4.1rem);
}

body.page-id-5597 .asta-references__lead { max-width: 58ch; }

body.page-id-5597 .asta-references__hero-form {
  width: 100%;
  max-width: 600px;
  margin-inline-start: auto;
}

body.page-id-5597 .asta-references__hero-form .asta-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 18px;
  background: linear-gradient(145deg, #49a516, #367f19);
  color: var(--asta-color-white);
  box-shadow: 0 22px 55px rgb(34 84 23 / 20%);
}

body.page-id-5597 .asta-references__hero-form .asta-form__heading,
body.page-id-5597 .asta-references__hero-form .asta-form__intro,
body.page-id-5597 .asta-references__hero-form .asta-form__field:has(input[type="email"]),
body.page-id-5597 .asta-references__hero-form .asta-form__field:has(.asta-form__choice),
body.page-id-5597 .asta-references__hero-form .asta-form > button,
body.page-id-5597 .asta-references__hero-form .asta-form__note {
  grid-column: 1 / -1;
}

body.page-id-5597 .asta-references__hero-form .asta-form__heading {
  margin: 0;
  color: var(--asta-color-white);
  font-size: clamp(1.55rem, 2.2vw, 1.9rem);
  line-height: 1.2;
}

body.page-id-5597 .asta-references__hero-form .asta-form__intro {
  margin: -7px 0 0;
  color: rgb(255 255 255 / 91%);
  font-size: .94rem;
  line-height: 1.5;
}

body.page-id-5597 .asta-references__hero-form .asta-form__field { min-width: 0; gap: 6px; }

body.page-id-5597 .asta-references__hero-form .asta-form__field > label {
  color: var(--asta-color-white);
  font-size: .85rem;
  line-height: 1.35;
}

body.page-id-5597 .asta-references__hero-form .asta-form__field :is(input:not([type="checkbox"]), select) {
  min-height: 48px;
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: 10px;
  background: var(--asta-color-white);
  color: #253126;
  font-size: .94rem;
}

body.page-id-5597 .asta-references__hero-form .asta-form__choice {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  color: rgb(255 255 255 / 92%);
  font-size: .72rem;
  font-weight: 450;
  line-height: 1.45;
}

body.page-id-5597 .asta-references__hero-form .asta-form__choice input {
  margin: 2px 0 0;
  accent-color: var(--asta-color-white);
}

body.page-id-5597 .asta-references__hero-form .asta-form > button {
  min-height: 49px;
  margin: 0;
  border-radius: 10px;
  background: var(--asta-color-white);
  color: #2f6e1d;
  font-weight: 750;
}

body.page-id-5597 .asta-references__hero-form .asta-form > button:hover { background: #f0f6ed; }

body.page-id-5597 .asta-references__hero-form .asta-form__honeypot,
body.page-id-5597 .asta-references__hero-form .asta-form > input[type="hidden"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

body.page-id-5597 .asta-references__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }

body.page-id-5597 .asta-reference-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 390px;
  border-radius: 20px;
}

body.page-id-5597 .asta-reference-card__scans {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: clamp(22px, 3.2vw, 42px);
  background: linear-gradient(145deg, #f2f7ef, #eaf2e6);
}

body.page-id-5597 .asta-reference-card__scan-main {
  position: relative;
  display: grid;
  min-height: 340px;
  aspect-ratio: 1.18 / 1;
  place-items: center;
  overflow: hidden;
  padding: 16px;
  border: 1px solid #e2e9df;
  border-radius: 13px;
  background: var(--asta-color-white);
  color: var(--reference-deep-green);
  text-decoration: none;
}

body.page-id-5597 .asta-reference-card__scan-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: contain;
  object-position: center;
}

body.page-id-5597 .asta-reference-card__scan-open {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid rgb(220 231 216 / 90%);
  border-radius: 999px;
  background: rgb(255 255 255 / 95%);
  color: #2e7419;
  font-size: .76rem;
  font-weight: 750;
  box-shadow: 0 4px 14px rgb(32 41 35 / 9%);
}

body.page-id-5597 .asta-reference-card__scan-pages {
  display: flex;
  gap: 10px;
  min-height: 62px;
}

body.page-id-5597 .asta-reference-card__scan-pages a {
  display: grid;
  grid-template-columns: 48px auto;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 5px 10px 5px 5px;
  border: 1px solid #dce7d8;
  border-radius: 10px;
  background: var(--asta-color-white);
  color: #405047;
  font-size: .77rem;
  text-decoration: none;
}

body.page-id-5597 .asta-reference-card__scan-pages img {
  display: block;
  width: 48px;
  height: 50px;
  border-radius: 5px;
  object-fit: cover;
  object-position: top center;
}

body.page-id-5597 .asta-reference-card__scan-pages small { font-size: inherit; }
body.page-id-5597 .asta-reference-card__scan-pages a:hover { border-color: #9fc28e; color: #286b17; }

body.page-id-5597 .asta-reference-card__scan-caption {
  margin: 0;
  color: #66736a;
  font-size: .8rem;
  text-align: center;
}

body.page-id-5597 .asta-reference-card__scan-placeholder,
body.page-id-5597 .asta-reference-card__scan-empty {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px;
  color: #405047;
  text-align: center;
}

body.page-id-5597 .asta-reference-card__scan-placeholder > span,
body.page-id-5597 .asta-reference-card__scan-empty > span { color: var(--reference-green); font-size: 3rem; }
body.page-id-5597 .asta-reference-card__scan-placeholder small,
body.page-id-5597 .asta-reference-card__scan-empty small { color: var(--reference-copy); }

body.page-id-5597 .asta-reference-card__body {
  min-width: 0;
  justify-content: center;
  padding: clamp(28px, 4vw, 54px);
}

body.page-id-5597 .asta-reference-card__brand {
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 0;
  gap: 14px;
  margin: 0 0 22px;
  padding: 0;
  background: transparent;
}

body.page-id-5597 .asta-reference-card__logo {
  max-width: min(100%, 220px);
  max-height: 54px;
  object-position: left center;
}

body.page-id-5597 .asta-reference-card[data-reference-id="9568"] .asta-reference-card__logo {
  filter: brightness(0);
}

body.page-id-5597 .asta-reference-card__wordmark {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  overflow-wrap: anywhere;
}

body.page-id-5597 .asta-reference-card__industry { margin-bottom: 2px; }
body.page-id-5597 .asta-reference-card__description { font-size: .98rem; line-height: 1.7; }
body.page-id-5597 .asta-reference-card__project { margin-top: 22px; padding-top: 18px; }
body.page-id-5597 .asta-reference-card__project h4 { font-size: .88rem; }
body.page-id-5597 .asta-reference-card__project p { font-size: .94rem; line-height: 1.65; }
body.page-id-5597 .asta-reference-card__facts { gap: 11px; margin-top: 22px; }
body.page-id-5597 .asta-reference-card__facts > div { grid-template-columns: 124px minmax(0, 1fr); font-size: .84rem; }

@media (max-width: 980px) {
  body.page-id-5597 .asta-references__hero-inner { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  body.page-id-5597 .asta-references__hero-copy { max-width: 740px; }
  body.page-id-5597 .asta-references__hero-form { max-width: 740px; margin-inline: 0; }
  body.page-id-5597 .asta-reference-card { min-height: 0; }
  body.page-id-5597 .asta-reference-card__scan-main { min-height: 290px; }
}

@media (max-width: 700px) {
  body.page-id-5597 .asta-references__hero { padding-block: 38px 46px; }
  body.page-id-5597 .asta-references__hero-copy h1 { max-width: 12ch; font-size: clamp(2.45rem, 11vw, 3.45rem); }
  body.page-id-5597 .asta-references__hero-form .asta-form { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 22px; }
  body.page-id-5597 .asta-references__hero-form .asta-form > * { grid-column: 1; }
  body.page-id-5597 .asta-reference-card { grid-template-columns: minmax(0, 1fr); }
  body.page-id-5597 .asta-reference-card__scans { padding: 18px; }
  body.page-id-5597 .asta-reference-card__scan-main { min-height: 320px; aspect-ratio: 1.15 / 1; }
  body.page-id-5597 .asta-reference-card__body { padding: 26px 22px 28px; }
  body.page-id-5597 .asta-reference-card__brand { margin-bottom: 17px; }
  body.page-id-5597 .asta-reference-card__facts > div { grid-template-columns: 108px minmax(0, 1fr); }
}

/* Keep reference previews readable on the page itself; the original file is secondary. */
body.page-id-5597 .asta-reference-card {
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 54px);
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: none;
}

body.page-id-5597 .asta-reference-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

body.page-id-5597 .asta-reference-card__scans {
  align-self: start;
  gap: 28px;
  padding: 0;
  background: transparent;
}

body.page-id-5597 .asta-reference-card__scan-page {
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
}

body.page-id-5597 .asta-reference-card__scan-full {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  border: 0;
  border-radius: 2px;
  object-fit: contain;
  object-position: top center;
  box-shadow: 0 8px 26px rgb(32 41 35 / 10%);
}

body.page-id-5597 .asta-reference-card__scan-page figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 10px;
  color: #727a73;
  font-size: .76rem;
  line-height: 1.4;
}

body.page-id-5597 .asta-reference-card__scan-page figcaption a {
  flex: 0 0 auto;
  color: #59645d;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.page-id-5597 .asta-reference-card__scan-page figcaption a:hover { color: #25352b; }

body.page-id-5597 .asta-reference-card__scan-placeholder,
body.page-id-5597 .asta-reference-card__scan-empty {
  min-height: 280px;
  padding: 28px;
  border: 0;
  border-radius: 0;
  background: #f4f4f2;
}

body.page-id-5597 .asta-reference-card__body {
  align-self: center;
  padding: 24px 0;
}

@media (max-width: 980px) {
  body.page-id-5597 .asta-reference-card { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); }
}

@media (max-width: 700px) {
  body.page-id-5597 .asta-reference-card { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body.page-id-5597 .asta-reference-card__scans { width: min(100%, 540px); margin-inline: auto; }
  body.page-id-5597 .asta-reference-card__body { padding: 0 0 10px; }
}

body.page-id-5597 .asta-reference-card__brand {
  align-items: flex-start;
  gap: 0;
}

body.page-id-5597 .asta-reference-card__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: min(100%, 260px);
  height: 76px;
  margin: 0 0 14px;
}

body.page-id-5597 .asta-reference-card__logo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: left center;
}

body.page-id-5597 .asta-reference-card__brand--wordmark .asta-reference-card__wordmark {
  margin-top: 0;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.18;
}

body.page-id-5597 .asta-reference-card {
  grid-template-columns: minmax(0, .76fr) minmax(0, 1fr);
  gap: 0;
  min-height: 660px;
  overflow: hidden;
  border: 1px solid #e6e9e4;
  border-radius: 16px;
  background: var(--asta-color-white);
  box-shadow: 0 12px 32px rgb(32 41 35 / 5%);
}

body.page-id-5597 .asta-reference-card:hover {
  transform: none;
  border-color: #e6e9e4;
  box-shadow: 0 12px 32px rgb(32 41 35 / 5%);
}

body.page-id-5597 .asta-reference-card__scans {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-self: stretch;
  min-height: 0;
  gap: 16px;
  padding: 24px;
  background: #f4f5f3;
}

body.page-id-5597 .asta-reference-card__scan-stage {
  display: grid;
  min-height: 0;
  height: 100%;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
}

body.page-id-5597 .asta-reference-card__scan-page {
  display: none;
  min-width: 0;
  min-height: 0;
  grid-area: 1 / 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

body.page-id-5597 .asta-reference-card__scan-page.is-active { display: flex; }

body.page-id-5597 .asta-reference-card__scan-full {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: 560px;
  border: 0;
  border-radius: 2px;
  object-fit: contain;
  object-position: center;
  box-shadow: none;
}

body.page-id-5597 .asta-reference-card__scan-page figcaption {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  color: #66716a;
  font-size: .78rem;
  line-height: 1.4;
}

body.page-id-5597 .asta-reference-card__scan-controls {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #dedfdb;
  color: #59645d;
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
}

body.page-id-5597 .asta-reference-card__scan-controls button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #daddd8;
  border-radius: 50%;
  background: var(--asta-color-white);
  color: #28352c;
  font: inherit;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}

body.page-id-5597 .asta-reference-card__scan-controls button:hover:not(:disabled) {
  border-color: #aab5a8;
  background: var(--asta-color-white);
}

body.page-id-5597 .asta-reference-card__scan-controls button:disabled {
  opacity: .38;
  cursor: default;
}

body.page-id-5597 .asta-reference-card__body {
  align-self: stretch;
  justify-content: flex-start;
  padding: clamp(34px, 4vw, 56px);
}

@media (max-width: 980px) {
  body.page-id-5597 .asta-reference-card { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); min-height: 620px; }
  body.page-id-5597 .asta-reference-card__scans { padding: 18px; }
  body.page-id-5597 .asta-reference-card__scan-full { max-height: 520px; }
  body.page-id-5597 .asta-reference-card__body { padding: 32px; }
}

@media (max-width: 700px) {
  body.page-id-5597 .asta-reference-card { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  body.page-id-5597 .asta-reference-card__scans { min-height: 560px; padding: 18px; }
  body.page-id-5597 .asta-reference-card__scan-full { max-height: 480px; }
  body.page-id-5597 .asta-reference-card__body { padding: 28px 22px 32px; }
}

body.page-id-5597 .asta-reference-card__scan-zoom {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  min-height: 0;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

body.page-id-5597 .asta-reference-card__scan-zoom:focus-visible {
  outline: 3px solid #4a9e19;
  outline-offset: 4px;
}

body.page-id-5597 .asta-reference-card__scan-loupe {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 50%;
  background: rgb(28 42 32 / 76%);
  box-shadow: 0 5px 20px rgb(0 0 0 / 20%);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.88);
  transition: opacity .18s ease, transform .18s ease;
}

body.page-id-5597 .asta-reference-card__scan-loupe::before {
  width: 21px;
  height: 21px;
  border: 2px solid var(--asta-color-white);
  border-radius: 50%;
  content: "";
  transform: translate(-2px, -2px);
}

body.page-id-5597 .asta-reference-card__scan-loupe::after {
  position: absolute;
  top: 37px;
  left: 36px;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--asta-color-white);
  content: "";
  transform: rotate(48deg);
  transform-origin: left center;
}

body.page-id-5597 .asta-reference-card__scan-zoom:hover .asta-reference-card__scan-loupe,
body.page-id-5597 .asta-reference-card__scan-zoom:focus-visible .asta-reference-card__scan-loupe {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

body.page-id-5597 .asta-reference-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  width: min(92vw, 1100px);
  height: min(92vh, 1200px);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--asta-color-white);
}

body.page-id-5597 .asta-reference-lightbox[open] {
  display: grid;
  place-items: center;
}

body.page-id-5597 .asta-reference-lightbox::backdrop {
  background: rgb(12 19 15 / 84%);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

body.page-id-5597 .asta-reference-lightbox img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  box-shadow: 0 24px 80px rgb(0 0 0 / 38%);
}

body.page-id-5597 .asta-reference-lightbox__close {
  position: absolute;
  z-index: 1;
  top: -18px;
  right: -18px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0 0 3px;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 50%;
  background: var(--asta-color-white);
  color: #202923;
  font: 400 32px/1 sans-serif;
  cursor: pointer;
  box-shadow: 0 5px 20px rgb(0 0 0 / 24%);
}

body.page-id-5597 .asta-reference-lightbox__close:focus-visible {
  outline: 3px solid #73c845;
  outline-offset: 3px;
}

@media (hover: none) {
  body.page-id-5597 .asta-reference-card__scan-loupe {
    opacity: .92;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (max-width: 700px) {
  body.page-id-5597 .asta-reference-lightbox {
    width: 96vw;
    height: 92vh;
  }

  body.page-id-5597 .asta-reference-lightbox__close {
    top: 8px;
    right: 8px;
  }
}

/* Dark, photographic references hero with breadcrumbs on the same background. */
body.page-id-5597 .asta-references__hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(560px, 42vw, 720px) !important;
  padding-top: 26px !important;
  padding-bottom: clamp(58px, 7vw, 92px) !important;
  background-color: #14211a;
  background-image:
    linear-gradient(90deg, rgb(8 17 12 / 84%) 0%, rgb(9 18 13 / 76%) 44%, rgb(9 17 12 / 66%) 100%),
    linear-gradient(0deg, rgb(7 13 9 / 24%), rgb(7 13 9 / 12%)),
    url("./references-hero-commercial-pv.webp");
  background-position: center, center, center 56%;
  background-size: cover;
}

body.page-id-5597 .asta-references__hero > .asta-page-breadcrumbs {
  width: min(calc(100vw - 48px), 1240px);
  max-width: 1240px;
  margin: 0 auto clamp(34px, 4vw, 52px);
  color: rgb(255 255 255 / 88%);
}

body.page-id-5597 .asta-references__hero > .asta-page-breadcrumbs .asta-breadcrumbs__separator {
  color: rgb(255 255 255 / 60%);
}

body.page-id-5597 .asta-references__hero > .asta-page-breadcrumbs a:hover {
  color: var(--asta-color-white);
}

body.page-id-5597 .asta-references__hero-inner {
  width: min(calc(100vw - 48px), 1240px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
}

body.page-id-5597 main.asta-content .asta-references__hero-copy h1 {
  color: var(--asta-color-white) !important;
}

body.page-id-5597 .asta-references__hero-copy .asta-references__lead {
  color: rgb(255 255 255 / 90%) !important;
}

body.page-id-5597 .asta-references__hero-form .asta-form .asta-form__heading {
  color: var(--asta-color-white) !important;
}

@media (max-width: 980px) {
  body.page-id-5597 .asta-references__hero {
    min-height: 0 !important;
    padding-top: 24px !important;
    padding-bottom: 56px !important;
  }

  body.page-id-5597 .asta-references__hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  body.page-id-5597 .asta-references__hero-form {
    margin-inline: 0;
  }
}

@media (max-width: 700px) {
  body.page-id-5597 .asta-references__hero > .asta-page-breadcrumbs,
  body.page-id-5597 .asta-references__hero-inner {
    width: min(calc(100vw - 36px), 1240px);
  }

  body.page-id-5597 .asta-references__hero > .asta-page-breadcrumbs {
    margin-bottom: 30px;
  }

  body.page-id-5597 .asta-references__hero {
    padding-top: 20px !important;
    padding-bottom: 42px !important;
    background-position: center, center, 58% center;
  }
}
