@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/barlow-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/barlow-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/barlow-condensed-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
}

:root {
  --bg: #07090c;
  --bg-navy: #101820;
  --bg-raised: #17222c;
  --bg-inset: #0c1218;
  --text: #f4f0e6;
  --muted: #c5cdd6;
  --red: #e14141;
  --red-button: #c4252c;
  --red-button-hover: #a61e24;
  --gold: #d0b871;
  --gold-strong: #f0d78c;
  --ink: #1a1408;
  --line: rgba(208, 184, 113, 0.4);
  --line-soft: rgba(208, 184, 113, 0.2);
  --danger: #ffb4b0;
  --ok: #d7efd0;
  --font-body: "Barlow", "Segoe UI", sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --gutter: 1.25rem;
  --content: 72rem;
  --header-offset: 11.5rem;
  color-scheme: dark;
}

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

html {
  scroll-padding-top: var(--header-offset);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  overflow-wrap: break-word;
  background:
    radial-gradient(ellipse 70% 40% at 100% -10%, rgba(225, 65, 65, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 35% at -10% 15%, rgba(208, 184, 113, 0.1), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(var(--red), var(--gold));
  z-index: 50;
  pointer-events: none;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold-strong);
}

a:hover {
  color: #fff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.footer-name,
.service-index,
.step-num,
.kicker,
.button,
.nav-toggle,
.footer-heading {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 12vw, 4.6rem);
  line-height: 0.92;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(2.1rem, 6vw, 3.25rem);
  line-height: 0.95;
}

h3 {
  margin-bottom: 0.4rem;
  font-size: 1.55rem;
  line-height: 1.05;
}

p {
  margin-bottom: 0.85rem;
}

:focus-visible {
  outline: 3px solid var(--gold-strong);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0;
  transform: translateY(-150%);
  z-index: 80;
  background: var(--gold);
  color: var(--ink);
  padding: 0.65rem 1rem;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0.75rem);
}

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

.narrow {
  width: min(46rem, calc(100% - (var(--gutter) * 2)));
}

.kicker {
  margin-bottom: 0.45rem;
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rule {
  width: 4.75rem;
  height: 4px;
  margin: 1rem 0 1.15rem;
  background:
    linear-gradient(var(--red), var(--red)) top / 100% 3px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom / 100% 1px no-repeat;
}

.lead,
.section-intro {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 40rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(16, 24, 32, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 0.5rem;
  align-items: center;
  padding: 0.75rem 0;
}

.brand {
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  width: fit-content;
  line-height: 0;
  text-decoration: none;
}

.nav-toggle {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

.primary-nav {
  grid-column: 1 / -1;
  grid-row: 3;
}

.header-bar > .call-link {
  grid-column: 1 / -1;
  grid-row: 2;
}

/* The wordmark sits in the middle of an 800×800 file. Frame it, don't shrink the square. */
.brand-logo {
  display: block;
  width: 9.5rem;
  aspect-ratio: 8 / 3;
  object-fit: cover;
  object-position: center 49%;
  background: var(--bg-navy);
  border: 1px solid var(--line);
}

.nav-toggle,
.button,
.call-link {
  min-height: 48px;
  border-radius: 2px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 1.15rem;
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--gold);
  color: var(--gold-strong);
}

.nav-list {
  display: none;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0.25rem 0 0.4rem;
}

.no-js .nav-list,
.js .nav-list.is-open {
  display: flex;
}

.no-js .nav-toggle {
  display: none;
}

.nav-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}

.nav-list a:hover {
  color: var(--gold-strong);
}

.call-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.call-link {
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold-strong);
}

.call-link:hover {
  background: var(--gold);
  color: var(--ink);
}

.call-link-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.button-primary {
  border: 1px solid var(--red-button);
  background: var(--red-button);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.button-primary:hover {
  background: var(--red-button-hover);
  border-color: var(--red-button-hover);
  color: #fff;
}

.button-primary:disabled {
  opacity: 0.7;
  cursor: wait;
}

.hero {
  padding: 2.25rem 0 3rem;
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.actions .button,
.actions .call-link {
  width: 100%;
}

.hero-card {
  padding: 1.15rem 1.15rem 0.4rem;
  background: rgba(16, 24, 32, 0.88);
  border: 1px solid var(--line);
}

.hero-index {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-index li {
  display: grid;
  gap: 0.1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line-soft);
}

.hero-index a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.hero-index a:hover {
  color: var(--gold-strong);
}

.hero-index span {
  color: var(--muted);
  font-size: 0.98rem;
}

.section {
  padding: 3.25rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(16, 24, 32, 0.72), rgba(16, 24, 32, 0.3));
  border-block: 1px solid var(--line-soft);
}

.service-grid,
.steps {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.service-card,
.step,
.placeholder-panel,
.quote-form {
  background: var(--bg-raised);
  border: 1px solid var(--line-soft);
  padding: 1.1rem 1.1rem 0.9rem;
}

.service-card:hover,
.step:hover {
  border-color: var(--gold);
}

.service-index,
.step-num {
  margin-bottom: 0.35rem;
  color: var(--gold);
  font-size: 1.35rem;
}

.service-card p:last-child,
.step p:last-child,
.placeholder-panel p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.steps {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}

.placeholder-panel {
  margin-top: 0.5rem;
  min-height: 14rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  background:
    linear-gradient(135deg, rgba(208, 184, 113, 0.08), transparent 42%),
    var(--bg-inset);
  border-style: dashed;
  border-color: var(--line);
}

.status-pill {
  align-self: flex-start;
  margin-bottom: 0.8rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--gold);
  color: var(--gold-strong);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.placeholder-label {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.placeholder-title {
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 600;
}

.ba-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.4rem;
}

.ba {
  margin: 0;
  padding: 0.9rem;
  background: var(--bg-raised);
  border: 1px solid var(--line-soft);
}

.ba figcaption {
  margin-bottom: 0.7rem;
  font-weight: 600;
}

.ba-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #0c1218;
  container-type: inline-size;
  overflow: hidden;
}

.ba-after,
.ba-before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: block;
  margin: 0;
}

.ba-after {
  right: 0;
  width: 100%;
}

.ba-before {
  overflow: hidden;
  border-right: 2px solid var(--gold);
}

.ba-after img,
.ba-before img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.ba-before img {
  width: 100cqi;
  max-width: none;
}

.ba-tag {
  position: absolute;
  top: 0.55rem;
  z-index: 2;
  padding: 0.15rem 0.45rem;
  background: rgba(7, 9, 12, 0.84);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.ba-tag-before {
  left: 0.55rem;
}

.ba-tag-after {
  right: 0.55rem;
}

.ba-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.7rem;
}

.ba-end {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ba-range {
  width: 100%;
  height: 44px;
  margin: 0;
  accent-color: var(--gold);
  cursor: ew-resize;
}

.faq-list {
  border-top: 1px solid var(--line);
  margin-top: 1rem;
}

.faq {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.25rem;
  padding: 0.85rem 0;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
}

.faq[open] summary::after {
  content: "–";
}

.faq p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.quote-form {
  margin-top: 0.5rem;
  padding: 1.15rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.req,
.opt {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.75rem;
  border: 1px solid #5c6b7c;
  border-radius: 2px;
  background: var(--bg-inset);
  color: var(--text);
  font: inherit;
}

textarea {
  min-height: 8.5rem;
  resize: vertical;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position:
    calc(100% - 1.15rem) 55%,
    calc(100% - 0.75rem) 55%;
  background-size: 0.4rem 0.4rem, 0.4rem 0.4rem;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
}

input::placeholder,
textarea::placeholder {
  color: #b7c2cc;
}

[aria-invalid="true"] {
  border-color: var(--red);
}

.field-error {
  min-height: 0;
  margin: 0.3rem 0 0;
  color: var(--danger);
  font-size: 0.95rem;
}

.field-error:empty {
  display: none;
}

.form-errors {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--red);
  background: #2a1416;
}

.form-errors p {
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.form-errors ul {
  margin: 0;
  padding-left: 1.1rem;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.quote-form {
  position: relative;
}

.privacy {
  color: var(--muted);
  font-size: 0.98rem;
}

#quote-submit {
  width: 100%;
}

.form-status {
  margin: 0.9rem 0 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--gold);
  background: #241c10;
  color: var(--gold-strong);
  font-weight: 600;
}

.form-status:empty {
  display: none;
}

.form-status.is-error {
  border-color: var(--red);
  background: #2a1416;
  color: var(--danger);
}

.form-status.is-ok {
  border-color: #8fbf86;
  background: #152117;
  color: var(--ok);
}

.noscript-note {
  padding: 0.85rem 1rem;
  border: 1px solid var(--gold);
  color: var(--gold-strong);
}

.site-footer {
  padding: 2.5rem 0 1.5rem;
  background: #080b10;
  border-top: 3px solid var(--red);
  box-shadow: inset 0 1px 0 var(--gold);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-name {
  margin: 0.8rem 0 0.3rem;
  font-size: 1.7rem;
}

.footer-heading {
  margin-bottom: 0.45rem;
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a,
.site-footer a {
  text-decoration: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
}

.footer-links a:hover,
.site-footer a:hover {
  color: var(--gold-strong);
}

.footer-legal {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
}

.footer-legal p {
  margin: 0;
}

::selection {
  background: var(--red-button);
  color: #fff;
}

@media (min-width: 480px) {
  .actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .actions .button,
  .actions .call-link {
    width: auto;
  }

  .brand-logo {
    width: 11.5rem;
  }
}

@media (min-width: 720px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .span-2,
  #quote-submit,
  .privacy,
  .form-status,
  .form-errors {
    grid-column: 1 / -1;
  }

  #quote-submit {
    width: auto;
    min-width: 16rem;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 0.8fr;
    align-items: start;
  }
}

@media (min-width: 700px) {
  :root {
    --header-offset: 8.25rem;
  }

  .header-bar {
    grid-template-columns: auto 1fr auto;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header-bar > .call-link {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: auto;
  }

  .nav-toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (min-width: 900px) {
  :root {
    --gutter: 1.75rem;
  }

  .hero {
    padding: 4rem 0 4.5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.8fr);
    gap: 2.5rem;
    align-items: end;
  }

  .section {
    padding: 4.5rem 0;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (min-width: 1080px) {
  .header-bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .primary-nav {
    grid-column: 2;
    grid-row: 1;
  }

  .header-bar > .call-link {
    grid-column: 3;
    grid-row: 1;
    width: auto;
  }

  .nav-toggle {
    display: none;
  }

  .nav-list,
  .js .nav-list,
  .no-js .nav-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0.15rem;
    padding: 0;
  }

  .nav-list a {
    min-height: 44px;
    padding: 0.2rem 0.65rem;
    border-bottom: 0;
  }

  .brand-logo {
    width: 13.75rem;
  }
}

@media (forced-colors: active) {
  .button-primary,
  .call-link,
  .status-pill,
  .placeholder-panel,
  .service-card,
  .step {
    border: 1px solid ButtonText;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  body::before,
  .skip-link,
  .nav-toggle,
  .honeypot,
  .actions,
  #quote-submit {
    display: none !important;
  }

  body,
  .site-header,
  .section-alt,
  .site-footer {
    background: #fff;
    color: #000;
  }

  a {
    color: #000;
  }

  .nav-list {
    display: none !important;
  }

  .ba-control {
    display: none !important;
  }

  .ba-frame {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    aspect-ratio: auto !important;
    height: auto !important;
    overflow: visible !important;
  }

  .ba-after,
  .ba-before {
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
  }

  .ba-after img,
  .ba-before img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }
}

/* Slider positions. Classes avoid inline styles so the page CSP stays strict. */
.ba-frame.pos-0 .ba-before { width: 0%; }
.ba-frame.pos-1 .ba-before { width: 1%; }
.ba-frame.pos-2 .ba-before { width: 2%; }
.ba-frame.pos-3 .ba-before { width: 3%; }
.ba-frame.pos-4 .ba-before { width: 4%; }
.ba-frame.pos-5 .ba-before { width: 5%; }
.ba-frame.pos-6 .ba-before { width: 6%; }
.ba-frame.pos-7 .ba-before { width: 7%; }
.ba-frame.pos-8 .ba-before { width: 8%; }
.ba-frame.pos-9 .ba-before { width: 9%; }
.ba-frame.pos-10 .ba-before { width: 10%; }
.ba-frame.pos-11 .ba-before { width: 11%; }
.ba-frame.pos-12 .ba-before { width: 12%; }
.ba-frame.pos-13 .ba-before { width: 13%; }
.ba-frame.pos-14 .ba-before { width: 14%; }
.ba-frame.pos-15 .ba-before { width: 15%; }
.ba-frame.pos-16 .ba-before { width: 16%; }
.ba-frame.pos-17 .ba-before { width: 17%; }
.ba-frame.pos-18 .ba-before { width: 18%; }
.ba-frame.pos-19 .ba-before { width: 19%; }
.ba-frame.pos-20 .ba-before { width: 20%; }
.ba-frame.pos-21 .ba-before { width: 21%; }
.ba-frame.pos-22 .ba-before { width: 22%; }
.ba-frame.pos-23 .ba-before { width: 23%; }
.ba-frame.pos-24 .ba-before { width: 24%; }
.ba-frame.pos-25 .ba-before { width: 25%; }
.ba-frame.pos-26 .ba-before { width: 26%; }
.ba-frame.pos-27 .ba-before { width: 27%; }
.ba-frame.pos-28 .ba-before { width: 28%; }
.ba-frame.pos-29 .ba-before { width: 29%; }
.ba-frame.pos-30 .ba-before { width: 30%; }
.ba-frame.pos-31 .ba-before { width: 31%; }
.ba-frame.pos-32 .ba-before { width: 32%; }
.ba-frame.pos-33 .ba-before { width: 33%; }
.ba-frame.pos-34 .ba-before { width: 34%; }
.ba-frame.pos-35 .ba-before { width: 35%; }
.ba-frame.pos-36 .ba-before { width: 36%; }
.ba-frame.pos-37 .ba-before { width: 37%; }
.ba-frame.pos-38 .ba-before { width: 38%; }
.ba-frame.pos-39 .ba-before { width: 39%; }
.ba-frame.pos-40 .ba-before { width: 40%; }
.ba-frame.pos-41 .ba-before { width: 41%; }
.ba-frame.pos-42 .ba-before { width: 42%; }
.ba-frame.pos-43 .ba-before { width: 43%; }
.ba-frame.pos-44 .ba-before { width: 44%; }
.ba-frame.pos-45 .ba-before { width: 45%; }
.ba-frame.pos-46 .ba-before { width: 46%; }
.ba-frame.pos-47 .ba-before { width: 47%; }
.ba-frame.pos-48 .ba-before { width: 48%; }
.ba-frame.pos-49 .ba-before { width: 49%; }
.ba-frame.pos-50 .ba-before { width: 50%; }
.ba-frame.pos-51 .ba-before { width: 51%; }
.ba-frame.pos-52 .ba-before { width: 52%; }
.ba-frame.pos-53 .ba-before { width: 53%; }
.ba-frame.pos-54 .ba-before { width: 54%; }
.ba-frame.pos-55 .ba-before { width: 55%; }
.ba-frame.pos-56 .ba-before { width: 56%; }
.ba-frame.pos-57 .ba-before { width: 57%; }
.ba-frame.pos-58 .ba-before { width: 58%; }
.ba-frame.pos-59 .ba-before { width: 59%; }
.ba-frame.pos-60 .ba-before { width: 60%; }
.ba-frame.pos-61 .ba-before { width: 61%; }
.ba-frame.pos-62 .ba-before { width: 62%; }
.ba-frame.pos-63 .ba-before { width: 63%; }
.ba-frame.pos-64 .ba-before { width: 64%; }
.ba-frame.pos-65 .ba-before { width: 65%; }
.ba-frame.pos-66 .ba-before { width: 66%; }
.ba-frame.pos-67 .ba-before { width: 67%; }
.ba-frame.pos-68 .ba-before { width: 68%; }
.ba-frame.pos-69 .ba-before { width: 69%; }
.ba-frame.pos-70 .ba-before { width: 70%; }
.ba-frame.pos-71 .ba-before { width: 71%; }
.ba-frame.pos-72 .ba-before { width: 72%; }
.ba-frame.pos-73 .ba-before { width: 73%; }
.ba-frame.pos-74 .ba-before { width: 74%; }
.ba-frame.pos-75 .ba-before { width: 75%; }
.ba-frame.pos-76 .ba-before { width: 76%; }
.ba-frame.pos-77 .ba-before { width: 77%; }
.ba-frame.pos-78 .ba-before { width: 78%; }
.ba-frame.pos-79 .ba-before { width: 79%; }
.ba-frame.pos-80 .ba-before { width: 80%; }
.ba-frame.pos-81 .ba-before { width: 81%; }
.ba-frame.pos-82 .ba-before { width: 82%; }
.ba-frame.pos-83 .ba-before { width: 83%; }
.ba-frame.pos-84 .ba-before { width: 84%; }
.ba-frame.pos-85 .ba-before { width: 85%; }
.ba-frame.pos-86 .ba-before { width: 86%; }
.ba-frame.pos-87 .ba-before { width: 87%; }
.ba-frame.pos-88 .ba-before { width: 88%; }
.ba-frame.pos-89 .ba-before { width: 89%; }
.ba-frame.pos-90 .ba-before { width: 90%; }
.ba-frame.pos-91 .ba-before { width: 91%; }
.ba-frame.pos-92 .ba-before { width: 92%; }
.ba-frame.pos-93 .ba-before { width: 93%; }
.ba-frame.pos-94 .ba-before { width: 94%; }
.ba-frame.pos-95 .ba-before { width: 95%; }
.ba-frame.pos-96 .ba-before { width: 96%; }
.ba-frame.pos-97 .ba-before { width: 97%; }
.ba-frame.pos-98 .ba-before { width: 98%; }
.ba-frame.pos-99 .ba-before { width: 99%; }
.ba-frame.pos-100 .ba-before { width: 100%; }

.no-js .ba-frame {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "before-label"
    "before"
    "after-label"
    "after";
  aspect-ratio: auto;
  height: auto;
  overflow: visible;
}

.no-js .ba-tag,
.no-js .ba-after,
.no-js .ba-before {
  position: static;
}

.no-js .ba-tag-before { grid-area: before-label; }
.no-js .ba-tag-after { grid-area: after-label; }
.no-js .ba-frame .ba-before { grid-area: before; width: auto; overflow: visible; border-right: 0; }
.no-js .ba-after { grid-area: after; width: auto; }
.no-js .ba-before img,
.no-js .ba-after img { width: 100%; height: auto; max-width: 100%; }
.no-js .ba-control { display: none; }

@media (min-width: 640px) {
  .no-js .ba-frame {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "before-label after-label"
      "before after";
  }
}
