/* intro video and masthead */
html {
  font-family: "Lato", sans-serif;
}

#overlay2 {
  position: fixed;
  inset: 0;
  background-color: #000;
  z-index: 999;
}

#grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 88vh 1fr;
  /* grid-template-rows: 100vh 1fr; */
  transition: grid-template-rows 1s;
}

#grid.post-intro {
  /* grid-template-rows: 6.25rem 1fr; */
  grid-template-rows: 10.7vw 1fr;
}

/* video and masthead */
.mastheadimg {
  background: black;
}
.masthead {
  width: 100%;
  margin: 0 auto;
  max-width: 1200px;
}
.self-center {
  align-self: center;
}

.no-scroll {
  overflow-y: hidden;
}

.fade-in {
  animation: fade-in 1s;
  animation-fill-mode: forwards;
}

@keyframes fade-in {
  from {
    background-color: rgba(0, 0, 0, 0);
  }

  to {
    background-color: rgba(0, 0, 0, 0.7);
  }
}

/* for bg auto play wistia vid */
[data-handle="click-for-sound-backdrop"] {
  display: none !important;
}

main {
  background-color: #fff;
  position: relative;
  z-index: 1;
}

#overlay {
  z-index: 2;
  position: fixed;
  inset: 0;
}

#introVideo {
  min-width: 0;
}

@media (max-width: 999px) {
  #introVideo {
    display: none;
  }
}

@media (min-width: 1000px) {
  .masthead {
    display: none;
  }
}

/* navigation */
nav ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 750px;
  margin: 0 auto;
  padding: 0.75rem 5px;
  gap: 3rem;
  font-size: 0.75rem;
  font-size: clamp(0.65rem, 4.5vw, 0.75rem);
  text-align: center;
}

@media (max-width: 768px) {
  nav ul {
    gap: 0.25rem;
    font-size: 0.65rem;
  }
}

nav ul li [data-href] {
  color: #7b7b7b;
}

nav ul li [href] {
  text-decoration: none;
  color: black;
}

@media (min-width: 350px) {
  .new-content {
    position: relative;
  }

  .new-content::after {
    height: 10px;
    width: 10px;
    content: "\00a0";
    margin-left: 2.75rem;
    position: absolute;
    top: 0;
    background-color: #02c102;
    border-radius: 100%;
    animation: pulse 1.5s ease-out alternate infinite;
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.75);
  }

  100% {
    transform: scale(1.2);
  }
}

/* welcome video */
#welcome-video {
  padding: 2rem 0.5rem;
}

.welcome-subheadline {
  font-family: "elza-narrow", sans-serif;
  font-weight: 500;
  font-size: 1.45rem;
  font-size: clamp(1.2rem, 6.8vw, 1.45rem);
  font-size: 1.2rem;
}

@media (max-width: 500px) {
  .welcome-subheadline {
    margin-top: 0.25rem;
  }
}

#video-container {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  margin-top: 1rem;
}

#video-container .wistia_responsive_wrapper {
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 800px;
  min-width: 0;
  align-self: center;
  justify-self: center;
  position: relative;
  z-index: 3;
}

/* rickards section 2 */
#rickards-section2 p {
  font-size: 1.45rem;
}

.rickards-box {
  box-shadow: 0 3px 6px rgb(0, 0, 0, 0.5);
  padding: 1rem;
}

.rickards-box h3 {
  font-size: 2rem;
  font-weight: 900;
}

.rickards-box ul li {
  font-size: 1.33rem;
  margin-left: 2rem;
}

.mining-stock-report-cover {
  filter: drop-shadow(2px 2px 5px #000);
}

.mining-stock-report-container {
  position: relative;
  left: -1rem;
  width: 100%;
  max-width: 250px;
  float: right;
  margin-left: 1rem;
}

.mining-stock-report-cover-arrow-container {
  position: absolute;
  right: -170px;
  top: 100px;
}

.mining-stock-report-cover-arrow {
  transform: scaleX(-1);
}

.mining-stock-report-cover-arrow-container p {
  font-family: "kalam", sans-serif;
  font-weight: 700;
  color: #ff2121;
  font-size: 1.25rem;
  position: relative;
  right: -2rem;
}

@media (max-width: 1350px) {
  .mining-stock-report-cover-arrow-container {
    display: none;
  }
}

@media (max-width: 768px) {
  .mining-stock-report-container {
    float: none;
    left: 0;
    margin: 1rem auto 0;
  }
}

/* rickards info */
#rickards-section {
  padding: 2rem 0.5rem;
  max-width: 1200px;
}

#rickards-section p {
  line-height: 1.6;
  font-size: 1.15rem;
}

@media (max-width: 425px) {
  .rickards-subhead-break {
    display: none;
  }
}

.rickards-blurbs {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.row-reverse {
  flex-direction: row-reverse;
}

@media (max-width: 1000px) {
  .rickards-blurbs {
    flex-direction: column;
  }
}

.rickards-hs {
  border: 2px solid #d17f43;
}

/* event details */
.event-details {
  background: linear-gradient(180deg, #fff7d3, #ffb56c);
  padding: 1rem 1rem 3.5rem;
}

.event-details-headline {
  font-family: "elza-narrow", sans-serif;
  font-size: 3.45rem;
  font-size: 2rem;
  font-weight: 900;
}

.event-item {
  font-family: "elza-narrow", sans-serif;
  display: grid;
  grid-template-columns: 150px 2px 1fr;
  gap: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #fdfae8 100%);
  box-shadow: 5px 5px 6px #00000029;
  border-radius: 9px;
  padding: 1rem;
  width: 100%;
  max-width: 1000px;
}

.fiveWs {
  align-self: center;
  justify-self: center;
  font-weight: 900;
  font-size: 1.5rem;
  /* font-size: clamp(1.25rem, 5vw, 1.5rem); */
}

.event-info {
  font-size: 1.25rem;
  font-size: clamp(1rem, 5vw, 1.25rem);
}

.divider {
  width: 1px;
  height: 100%;
  background-color: #5d5c5c;
}

@media (max-width: 768px) {
  .event-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .divider {
    width: 100%;
    height: 1px;
  }
}

#event-triangle-down {
  width: 0;
  height: 0;
  border-left: 50vw solid transparent;
  border-right: 50vw solid transparent;
  border-top: 10vw solid #fff;
}

/* ceo section */
.ceo-container {
  background: url(https://d2z65klgtz99km.cloudfront.net/RIS/ris_launch_0126/blueflag.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: -1rem;
}

#ceo {
  font-size: 1.15rem;
  font-size: clamp(1rem, 5vw, 1.15rem);
}

.ceo-img {
  border: 3px solid #111624;
  width: clamp(125px, 33.33vw, 300px);
}

.ceo-annotation-text {
  position: relative;
}

.ceo-annotation-img {
  position: absolute;
  z-index: 33;
  width: 70px;
  right: 0;
  bottom: -3rem;
}

@media (min-width: 1000px) {
  .ceo-annotation-img {
    width: 100px;
  }
}

/* calendar */
.calendar_wrapper {
  margin-top: 3rem;
}

.calendar_wrapper h2 {
  font-size: 2rem;
  font-size: clamp(1.15rem, 5vw, 1.5rem);
  padding: 1rem 1rem 2rem;
  line-height: 1.2;
}

.add-to-calendar {
  background-color: #23252e;
  color: #fff;
  font-size: 0.85rem;
  font-weight: bold;
  margin: -1rem auto 1rem;
  padding: 0.5rem 2rem;
  width: fit-content;
  text-align: center;
  text-transform: uppercase;
}

.add-to-calendar a {
  font-family: "elza", sans-serif;
  color: #fff;
  font-size: 0.75em;
  font-weight: 500;
  margin-top: 0.25rem;
}

.add-to-calendar-checkbox[type="checkbox"] {
  display: none;
}

.calendar_inside {
  font-family: "elza-narrow", sans-serif;
  max-width: 800px;
  margin: 0 auto;
  background: url(https://d2z65klgtz99km.cloudfront.net/RIS/ris_launch_0126/flag-bg.webp);
  background-position: top;
  color: #000;
  box-shadow: 0px 3px 6px #0000008d;
}

.add-to-calendar-checkbox:hover {
  cursor: pointer;
}

@media (max-width: 550px) {
  .calendar_wrapper h2 {
    padding: 0.5rem 1rem 1.25rem;
  }
  .calendar_inside {
    margin: 0 0.25rem;
  }
}

.calendar-img {
  width: 100%;
  max-width: 200px;
}

@media (max-width: 350px) {
  .calendar-img {
    float: none;
    margin: 0 auto;
  }
}

/* immadiate steps section */
#immediate-steps {
  background: url(https://d2z65klgtz99km.cloudfront.net/RIS/ris_launch_0126/blueflag.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 2rem 0.5rem;
}

.immediate-steps-headline {
  font-size: 2.25rem;
  font-size: clamp(1.25rem, 7.1vw, 2.25rem);
  line-height: 1.1;
}

.triangle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.triangle-down {
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 18px solid #171616;
}
@media (max-width: 500px) {
  .triangle-container {
    gap: 5px;
  }
  .triangle-down {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 12px solid #171616;
  }
}

.wrapper-padding {
  padding: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.wrapper-padding-large {
  padding: 1rem;
  max-width: 1300px;
  margin: 0 auto;
}

/* updates v2 */
#update-prerelease {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 1200px;
  padding: 1rem 0.25rem 0;
}
.update-pretext {
  font-size: 1.5rem;
  font-size: clamp(1.15rem, 5vw, 1.5rem);
}

/* updates section */
#updates {
  padding: 1rem;
}

.update {
  background-color: #fff;
  padding: 0.5rem 1rem;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 1rem;
  border: 1px solid black;
}

.update-copy {
  /* to make sure the copy section width is consistent regardless of amount of copy */
  flex-grow: 1;
}

.update img {
  align-self: flex-start;
}

.locked-copy {
  color: #969696;
  font-size: 35px;
  font-size: clamp(1rem, 6vw, 1.45rem);
}

.unlocked-copy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 1rem;
  font-size: clamp(1rem, 5vw, 1.25rem);
}

.update-link {
  color: #0027ff;
  text-decoration: none;
  font-weight: 700;
  padding: 5px 15px !important;
  text-transform: uppercase;
  width: fit-content !important;
  align-self: flex-end;

  font-size: 1.15rem !important;
}

.update-title {
  color: #0027ff;
  text-decoration: underline;
}

.update-title a:visited {
  color: #0027ff;
}

@media (max-width: 600px) {
  .update {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .update img,
  .update-link {
    align-self: center;
  }

  .update-title {
    text-align: center;
  }
}

/* sms */
#sms {
  background-color: #23252e;
  background: url(https://d2z65klgtz99km.cloudfront.net/RIS/ris_launch_0126/flag-bg-sms.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 1rem;
  color: #fff;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 1000px;
  container-type: inline-size;
}

/* sms report images and annotations */
.report-image-container1 {
  width: auto;
  flex-shrink: 0;
  position: relative;
}

.report-image-container2 {
  width: fit-content;
  position: relative;
}

.sms-report1 {
  width: 250px;
}

.sms-report2 {
  width: 200px;
}

.sms-annotation-container1 {
  position: absolute;
  top: 0;
  left: -4rem;
}

.sms-annotation-container1 p {
  font-family: "kalam", sans-serif;
  font-weight: 700;
  color: #ff2121;
  font-size: 1.5rem;
  line-height: 1;
  position: absolute;
  left: -3rem;
}
.sms-annotation-container2 {
  position: absolute;
  top: 0;
  left: -5rem;
}

.sms-annotation-container2 p {
  font-family: "kalam", sans-serif;
  font-weight: 700;
  color: #ff2121;
  font-size: 1.5rem;
  line-height: 1;
  position: absolute;
  left: -2rem;
}

@media (max-width: 1300px) {
  .sms-annotation-container1 {
    display: none;
  }
}

@media (max-width: 550px) {
  .sms-annotation-container2 {
    display: none;
  }
}

@media (max-width: 768px) {
  #sms {
    flex-direction: column;
  }

  .sms-report1 {
    display: none;
  }
}

@media (min-width: 769px) {
  .sms-annotation-container2,
  .sms-report2 {
    display: none;
  }
}

#sms h3 {
  text-transform: uppercase;
  font-size: 2rem;
  line-height: 1.2;
}

.sms-enter-number {
  font-size: 1.25rem;
  font-size: clamp(1.25rem, 3.2cqw, 1.5rem);
  margin-top: 0.5rem;
}
.sms-box {
  width: 100%;
  position: relative;
}

.sms-box .sms-disclaimer {
  font-size: 0.65rem;
  color: #939393;
  text-align: center !important;
  line-height: 1.3;
  margin: 0 auto;
}

p.sms-disclaimer a {
  color: #7d7d7d;
}

.smsNumberLabel {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 1rem;
}

#smsPhoneNumber-noVid2 {
  padding: 0.5rem;
  font-size: 1.2rem;
  text-align: center;
  border: 1px solid #000;
  width: 100%;
  outline: none;
  margin-bottom: 1rem;
  border-radius: 4px;
}

#smsSubmit-noVid2 {
  width: 100%;
  padding: 0.5rem;
  font-size: 1.2rem;
  background: linear-gradient(180deg, #feeb96, #d17f43);
  color: #191919;
  border: 1px solid #191919;
  margin: 0 auto;
  transition: all 0.2s ease;
  line-height: 1;
  font-weight: 700;
  border-radius: 4px;
}

#smsSubmit-noVid2:disabled {
  background-color: #cacaca;
  color: #888888;
  border: none;
  cursor: not-allowed;
}

#smsSubmit-noVid2:hover:not(:disabled) {
  cursor: pointer;
  background: linear-gradient(180deg, #d17f43, #feeb96);
}

[type="text"]::placeholder {
  color: #a8a8a8;
}

.sms-input-container {
  display: flex;
  flex-direction: column;
  margin: 0 auto 0;
  max-width: 800px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.sr-only a,
.disclaimer a {
  color: #939393;
}

.international {
  border: solid red 1px;
  padding: 10px;
}

/* subheads */
:root {
  --arrow-width: 1rem;
  --arrow-height: 1rem;
  --polygon-bottom-arrow: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--arrow-height)),
    calc(50% + var(--arrow-width)) calc(100% - var(--arrow-height)),
    50% 100%,
    calc(50% - var(--arrow-width)) calc(100% - var(--arrow-height)),
    0 calc(100% - var(--arrow-height))
  );
  --polygon-top-bottom-arrows: polygon(
    0 0,
    calc(50% - var(--arrow-width)) 0,
    50% var(--arrow-height),
    calc(50% + var(--arrow-width)) 0,
    100% 0,
    100% calc(100% - var(--arrow-height)),
    calc(50% + var(--arrow-width)) calc(100% - var(--arrow-height)),
    50% 100%,
    calc(50% - var(--arrow-width)) calc(100% - var(--arrow-height)),
    0 calc(100% - var(--arrow-height))
  );
}
.subhead-container {
  background-color: #23252e;
  background: url(https://d2z65klgtz99km.cloudfront.net/RIS/ris_launch_0126/subhead-flag.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  --padding: 1rem;
  padding-top: var(--padding);
  padding-bottom: calc(var(--padding) + var(--arrow-height));
  clip-path: var(--polygon-bottom-arrow);
}
.subhead-container .subhead {
  font-family: "elza-narrow", sans-serif;
  font-weight: 500;
  text-align: center;
  font-size: 2.5rem;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  color: #fff;
  padding: 0 10px;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  line-height: 1.1;
}

.subhead .font-smaller {
  font-size: 1.65rem;
  font-size: clamp(1.5rem, 5vw, 1.65rem);
}

.subheadline {
  font-size: 2.25rem;
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  line-height: 1.1;
}

/* text wrapper */
.text-wrapper {
  padding: 2rem 0.5rem;
  max-width: 1200px;
}

/* text */
.font-elza-narrow {
  font-family: "elza-narrow", sans-serif;
}
.font-acumin {
  font-family: "acumin-pro-condensed", sans-serif;
}
.gradient-text {
  background: linear-gradient(180deg, #feeb96, #d17f43);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
}
.highlight {
  background-color: #fff364;
  padding-left: 2px;
  padding-right: 2px;
}
.font-black {
  font-weight: 900;
}
.text-green {
  color: #0b9000;
}

.text-dark {
  color: #191919;
}

.text-gray {
  color: #7b7b7b;
}

/* breaks */
.nobreak {
  white-space: normal;
}

@media (min-width: 415px) {
  .nobreak {
    white-space: nowrap;
  }
}

.hidden {
  display: none !important;
}
