/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

.critique-panel {
  background-color: rgb(0 0 0 / 0.45);
  transition: background-color 150ms ease;
}

.critique-panel:hover {
  background-color: rgb(0 0 0 / 0.82);
}

@media (max-width: 767px) {
  .mobile-photo-stage {
    transform: scale(var(--mobile-photo-scale, 1));
    transform-origin: top center;
    will-change: transform;
  }

  .critique-panel {
    background-color: rgb(0 0 0 / 0.86);
    box-shadow: 0 -24px 70px rgb(0 0 0 / 0.6);
  }

  .critique-panel:hover {
    background-color: rgb(0 0 0 / 0.88);
  }
}

@media (min-width: 768px) {
  .mobile-photo-stage {
    transform: none;
  }
}

.upload-progress-popover {
  background: rgb(2 6 24 / 0.98);
  border: 2px solid rgb(251 191 36 / 0.78);
  border-radius: 0.5rem;
  bottom: 7rem;
  box-shadow: 0 24px 70px rgb(0 0 0 / 0.72);
  color: rgb(255 255 255);
  left: auto;
  min-height: 6rem;
  padding: 1rem;
  position: fixed;
  right: 1.5rem;
  width: min(24rem, calc(100vw - 2rem));
  z-index: 2147483647;
}

.processing-indicator__mark {
  align-items: center;
  display: inline-flex;
  gap: 0.25rem;
  height: 1.25rem;
  justify-content: center;
  min-width: 2rem;
}

.processing-indicator__mark span {
  animation: miru-processing-pulse 1.45s ease-in-out infinite;
  background: rgb(251 191 36 / 0.92);
  border-radius: 9999px;
  display: block;
  height: 0.45rem;
  width: 0.45rem;
}

.processing-indicator__mark span:nth-child(2) {
  animation-delay: 0.16s;
}

.processing-indicator__mark span:nth-child(3) {
  animation-delay: 0.32s;
}

.processing-indicator::after {
  animation: miru-processing-scan 2.8s ease-in-out infinite;
  background: linear-gradient(90deg, transparent, rgb(251 191 36 / 0.22), transparent);
  content: "";
  height: 1px;
  left: 0;
  opacity: 0.8;
  position: absolute;
  right: 0;
  top: 0;
  transform: translateX(-100%);
}

.processing-indicator {
  overflow: hidden;
  position: relative;
}

@keyframes miru-processing-pulse {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0) scale(0.82);
  }

  40% {
    opacity: 1;
    transform: translateY(-0.16rem) scale(1);
  }
}

@keyframes miru-processing-scan {
  0% {
    transform: translateX(-100%);
  }

  55%,
  100% {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .processing-indicator__mark span,
  .processing-indicator::after {
    animation: none;
  }
}

@media (max-width: 640px) {
  .upload-progress-popover {
    bottom: 8.5rem;
    left: 1rem;
    right: 1rem;
    width: auto;
  }
}

.blog-content {
  color: rgb(255 255 255 / 0.72);
  font-size: 1.0625rem;
  line-height: 1.9;
}

.blog-content > * + * {
  margin-top: 1.25rem;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
  color: rgb(255 255 255);
  font-weight: 650;
  line-height: 1.2;
  margin-top: 2.25rem;
}

.blog-content h2 {
  font-size: 1.875rem;
}

.blog-content h3 {
  font-size: 1.5rem;
}

.blog-content h4 {
  font-size: 1.25rem;
}

.blog-content a {
  color: rgb(251 191 36);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.blog-content ul,
.blog-content ol {
  padding-left: 1.35rem;
}

.blog-content ul {
  list-style: disc;
}

.blog-content ol {
  list-style: decimal;
}

.blog-content blockquote {
  border-left: 2px solid rgb(251 191 36 / 0.7);
  color: rgb(255 255 255 / 0.82);
  padding-left: 1rem;
}

.blog-content img {
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 0.375rem;
  display: block;
  height: auto;
  margin-top: 1.75rem;
  max-width: 100%;
}

.blog-content pre {
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 0.375rem;
  color: rgb(255 255 255 / 0.82);
  overflow-x: auto;
  padding: 1rem;
}

.blog-content code {
  background: rgb(255 255 255 / 0.08);
  border-radius: 0.25rem;
  padding: 0.125rem 0.25rem;
}

.blog-content pre code {
  background: transparent;
  padding: 0;
}

.blog-content-light {
  color: rgb(51 65 85);
}

.blog-content-light h2,
.blog-content-light h3,
.blog-content-light h4 {
  color: rgb(15 23 42);
}

.blog-content-light a {
  color: rgb(15 23 42);
}

.blog-content-light blockquote {
  border-left-color: rgb(15 23 42 / 0.45);
  color: rgb(30 41 59);
}

.blog-content-light img {
  border-color: rgb(226 232 240);
}

.blog-content-light pre,
.blog-content-light code {
  background: rgb(241 245 249);
  border-color: rgb(226 232 240);
  color: rgb(15 23 42);
}

.comparison-source-strip {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2.5rem;
}

.comparison-source-strip__item {
  background: rgb(2 6 24);
  border-radius: 0.375rem;
  overflow: hidden;
  position: relative;
}

.comparison-source-strip__image {
  aspect-ratio: 1 / 1;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.comparison-source-strip__label {
  background: linear-gradient(to top, rgb(0 0 0 / 0.86), transparent);
  bottom: 0;
  color: white;
  font-size: 0.875rem;
  font-weight: 650;
  left: 0;
  line-height: 1.25;
  padding: 1.75rem 0.75rem 0.75rem;
  position: absolute;
  right: 0;
}

.comparison-source-strip__label p {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .comparison-source-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .comparison-source-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.tiptap-toolbar-button {
  align-items: center;
  background: rgb(255 255 255 / 0.08);
  border-radius: 9999px;
  color: rgb(255 255 255 / 0.78);
  display: inline-flex;
  font-size: 0.8125rem;
  font-weight: 700;
  min-height: 2rem;
  padding: 0.375rem 0.75rem;
  transition: background-color 150ms ease, color 150ms ease;
}

.tiptap-toolbar-button:hover {
  background: rgb(255 255 255 / 0.16);
  color: rgb(255 255 255);
}

.tiptap-editor-surface {
  cursor: text;
}

.tiptap-editor-surface .ProseMirror {
  cursor: text;
  min-height: 20rem;
  outline: none;
  white-space: pre-wrap;
}

.tiptap-editor-surface .ProseMirror > * + * {
  margin-top: 1rem;
}

.tiptap-editor-surface .ProseMirror h2,
.tiptap-editor-surface .ProseMirror h3,
.tiptap-editor-surface .ProseMirror h4 {
  color: rgb(255 255 255);
  font-weight: 650;
  line-height: 1.2;
}

.tiptap-editor-surface .ProseMirror h2 {
  font-size: 1.875rem;
}

.tiptap-editor-surface .ProseMirror h3 {
  font-size: 1.5rem;
}

.tiptap-editor-surface .ProseMirror h4 {
  font-size: 1.25rem;
}

.tiptap-editor-surface .ProseMirror ul {
  list-style: disc;
  padding-left: 1.35rem;
}

.tiptap-editor-surface .ProseMirror ol {
  list-style: decimal;
  padding-left: 1.35rem;
}

.tiptap-editor-surface .ProseMirror blockquote {
  border-left: 2px solid rgb(251 191 36 / 0.7);
  padding-left: 1rem;
}

.tiptap-editor-surface .ProseMirror a {
  color: rgb(251 191 36);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.tiptap-editor-surface .ProseMirror p.is-editor-empty:first-child::before {
  color: rgb(255 255 255 / 0.35);
  content: attr(data-placeholder);
  float: left;
  height: 0;
  pointer-events: none;
}

.hero-photo-study {
  aspect-ratio: 16 / 11;
  background: rgb(255 255 255 / 0.04);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 0.375rem;
  box-shadow: 0 24px 70px rgb(0 0 0 / 0.38);
  min-height: 22rem;
  overflow: hidden;
  position: relative;
}

.home-section-band--black {
  background:
    radial-gradient(900px 360px at 0% 0%, rgb(255 255 255 / 0.065), rgb(255 255 255 / 0.018) 42%, transparent 72%),
    #000;
}

.home-section-band--charcoal {
  background:
    radial-gradient(900px 360px at 0% 0%, rgb(120 105 82 / 0.18), rgb(255 255 255 / 0.018) 42%, transparent 72%),
    #090807;
}

.home-section-band--graphite {
  background:
    radial-gradient(900px 360px at 0% 0%, rgb(80 112 135 / 0.18), rgb(255 255 255 / 0.018) 42%, transparent 72%),
    #0b0f12;
}

.home-section-band--forest {
  background:
    radial-gradient(900px 360px at 0% 0%, rgb(54 110 81 / 0.2), rgb(255 255 255 / 0.018) 42%, transparent 72%),
    #08130f;
}

.hero-photo-study__slide {
  animation: hero-photo-slide 48s ease-in-out infinite;
  inset: 0;
  opacity: 0;
  position: absolute;
  transform: scale(1.015);
}

.hero-photo-study__slide--1 {
  animation-delay: 0s;
}

.hero-photo-study__slide--2 {
  animation-delay: -36s;
}

.hero-photo-study__slide--3 {
  animation-delay: -24s;
}

.hero-photo-study__slide--4 {
  animation-delay: -12s;
}

.hero-photo-study__hotspot {
  animation: hero-hotspot 12s ease-in-out infinite;
  left: var(--x);
  max-width: min(17rem, calc(100% - 2rem));
  opacity: 0;
  position: absolute;
  top: var(--y);
  transform: translate(-50%, -50%) translateY(0.75rem);
  z-index: 10;
}

.hero-photo-study__hotspot span {
  align-items: center;
  background: rgb(251 191 36);
  border: 2px solid rgb(0 0 0 / 0.8);
  border-radius: 9999px;
  box-shadow: 0 12px 30px rgb(0 0 0 / 0.42);
  color: rgb(15 23 42);
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 800;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.hero-photo-study__hotspot p {
  background: rgb(0 0 0 / 0.68);
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 0.375rem;
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.38);
  color: rgb(255 255 255 / 0.88);
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.35;
  margin-top: 0.5rem;
  padding: 0.7rem 0.8rem;
  width: max-content;
  max-width: min(17rem, calc(100vw - 3rem));
}

.hero-photo-study__hotspot--1 {
  animation-delay: 0.9s;
}

.hero-photo-study__hotspot--2 {
  animation-delay: 4s;
}

.hero-photo-study__hotspot--3 {
  animation-delay: 7.1s;
}

.hero-photo-study__dot {
  animation: hero-photo-dot 48s ease-in-out infinite;
  background: rgb(255 255 255 / 0.25);
  border-radius: 9999px;
  display: block;
  height: 0.45rem;
  width: 0.45rem;
}

.hero-photo-study__dot--1 {
  animation-delay: 0s;
}

.hero-photo-study__dot--2 {
  animation-delay: -36s;
}

.hero-photo-study__dot--3 {
  animation-delay: -24s;
}

.hero-photo-study__dot--4 {
  animation-delay: -12s;
}

.customer-quotes-row {
  -webkit-overflow-scrolling: touch;
  scroll-padding-inline: 1px;
  scroll-snap-type: x mandatory;
}

.customer-quotes-row.is-ready {
  opacity: 0;
  transform: translateX(2rem);
  transition: opacity 700ms ease, transform 700ms ease;
}

.customer-quotes-row.is-ready.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.customer-quotes-row::-webkit-scrollbar {
  display: none;
}

.customer-quotes-row {
  scrollbar-width: none;
}

.customer-quotes-row__card {
  transform: rotate(var(--quote-rotation, 0deg));
  transition: background-color 180ms ease, transform 180ms ease;
  width: min(23rem, calc(100vw - 3rem));
}

.customer-quotes-row__card:nth-child(1) {
  --quote-rotation: -0.8deg;
}

.customer-quotes-row__card:nth-child(2) {
  --quote-rotation: 0.7deg;
}

.customer-quotes-row__card:nth-child(3) {
  --quote-rotation: -0.45deg;
}

.customer-quotes-row__card:nth-child(4) {
  --quote-rotation: 0.9deg;
}

.customer-quotes-row__card:nth-child(5) {
  --quote-rotation: -0.65deg;
}

.customer-quotes-row__card:hover {
  transform: translateY(-0.15rem) rotate(var(--quote-rotation, 0deg));
}

@media (min-width: 768px) {
  .customer-quotes-row__card {
    width: min(26rem, 42vw);
  }
}

@media (min-width: 1024px) {
  .customer-quotes-row__card {
    width: min(28rem, 34vw);
  }
}

@keyframes hero-photo-slide {
  0%,
  22% {
    opacity: 1;
    transform: scale(1);
  }

  25%,
  100% {
    opacity: 0;
    transform: scale(1.015);
  }
}

@keyframes hero-hotspot {
  0%,
  6%,
  30%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(0.75rem);
  }

  9%,
  27% {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
  }
}

@keyframes hero-photo-dot {
  0%,
  22% {
    background: rgb(251 191 36);
    width: 1.4rem;
  }

  25%,
  100% {
    background: rgb(255 255 255 / 0.25);
    width: 0.45rem;
  }
}

@media (max-width: 640px) {
  .hero-photo-study {
    aspect-ratio: 4 / 5;
    min-height: 22rem;
  }

  .hero-photo-study__hotspot {
    max-width: min(14rem, calc(100% - 1.5rem));
  }

  .hero-photo-study__hotspot p {
    font-size: 0.78rem;
    max-width: min(14rem, calc(100vw - 2rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  .customer-quotes-row.is-ready {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .customer-quotes-row__card {
    transition: none;
  }

  .hero-photo-study__slide,
  .hero-photo-study__hotspot,
  .hero-photo-study__dot {
    animation: none;
  }

  .hero-photo-study__slide--1,
  .hero-photo-study__slide--1 .hero-photo-study__hotspot--1 {
    opacity: 1;
    transform: none;
  }

  .hero-photo-study__dot--1 {
    background: rgb(251 191 36);
    width: 1.4rem;
  }
}
