/* gustech.us: styles for the parts in gus.js. Built from tools/static/css/parts/. */
/* ---- 21-video.css ---- */
/* The YouTube stand-in (see js/parts/21-video.js): fills the video box like the player did,
   the thumbnail letterboxed on black as YouTube shows it, and YouTube's red play button. */
.sqs-video-wrapper .gus-video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
}
.sqs-video-wrapper .gus-video-facade img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* The title along the top, as YouTube's player shows it before play. */
.sqs-video-wrapper .gus-video-facade-title {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  padding: 12px 16px 24px;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  color: #fff;
  font: 500 16px/1.3 Roboto, Arial, sans-serif;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sqs-video-wrapper .gus-video-facade-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 48px;
  transform: translate(-50%, -50%);
  opacity: 0.85;
  transition: opacity 0.2s;
}
.sqs-video-wrapper .gus-video-facade:hover .gus-video-facade-play,
.sqs-video-wrapper .gus-video-facade:focus-visible .gus-video-facade-play { opacity: 1; }
.sqs-video-wrapper .gus-video-facade:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

/* ---- 30-forms.css ---- */
/* Forms (see js/parts/30-forms.js). Squarespace's own form CSS already styles everything the
   script adds (error lines, pink fields, button states, the "Thank you!" message), so this part
   only covers what live has no rule for. */

/* The preview note sits where the "Thank you!" message goes; keep it from being outlined
   when the script moves focus to it after a mouse click. */
.form-wrapper .react-form-post-submit .form-submission-text:focus:not(:focus-visible) { outline: none; }

/* ---- 40-gallery.css ---- */
/* Gallery blocks (40-gallery.js). Squarespace's own gallery CSS in site.css does the layout;
   this only replaces the arrow glyphs, which came from squarespace-ui-font on Squarespace's CDN.
   The two shapes are that font's glyphs U+E02C and U+E02D, drawn on the same 512-unit em box,
   so they sit exactly where the font put them. */
.sqs-block-gallery .sqs-gallery-controls .previous::before,
.sqs-block-gallery .sqs-gallery-controls .next::before {
  content: "";
  background-color: currentColor;
  -webkit-mask: var(--gus-gallery-arrow) no-repeat 0 0 / 100% 100%;
  mask: var(--gus-gallery-arrow) no-repeat 0 0 / 100% 100%;
}
.sqs-block-gallery .sqs-gallery-controls .previous::before {
  --gus-gallery-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M347.184 512L367.744 491.44L148.32 272L367.728 52.576L347.168 32L107.168 272Z'/%3E%3C/svg%3E");
}
.sqs-block-gallery .sqs-gallery-controls .next::before {
  --gus-gallery-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M164.56 512L144 491.44L363.44 272L144 52.56L164.56 32L404.576 272Z'/%3E%3C/svg%3E");
}

/* ---- 60-contours.css ---- */
/* Contours section background (js/parts/60-contours.js). Squarespace's site.css already places
   .section-background-canvas and styles .background-pause-button; this only covers the canvas
   we add, so it fills the section even before the script sets its inline size. */
.background-fx-canvas { overflow: hidden; }
.background-fx-canvas > canvas {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
