/* ---------- reset / base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%;
  overflow-x: hidden;
  -moz-font-feature-settings: "lnum";
  -webkit-font-feature-settings: "lnum";
  font-feature-settings: "lnum";
  text-wrap-style: pretty;
  background: linear-gradient(to bottom, rgba(255,255,255,1) 50%, #e3e2e0 50%);
}

@font-face {
  font-family: "Verlag";
  src: url("Font1-Book.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Verlag";
  src: url("Font1-Bold.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("Lora-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("Lora-Italic.otf") format("opentype");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

/* ============================================================
   HERO — full-screen video with the two names over the top
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh; /* accounts for mobile browser chrome */
  overflow: hidden;
  background-image: url("intro_frame.png");
  background-size: cover;
  background-position: center;
}

.hero canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#hero-canvas {
  opacity: 0;
  transition: opacity 0.3s ease;
}

#hero-canvas.ready {
  opacity: 1;
}

.hero-names {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 100px;
  padding-left: 6.82vw;
  padding-right: 6.82vw;
  text-align: center;
  z-index: 2;
  display: flex;
  justify-content: space-between; 
  gap: 0.5rem;
  color: white;
  mix-blend-mode: difference;          
}

.hero-names .name {
  font-family: "Verlag", sans-serif;
  font-size: 23px;
  letter-spacing: .22em;   
  display: inline;
  line-height: 1.1;
}

/* ============================================================
   INFO BAND — grey section below the fold
   ============================================================ */
.info {
  background: #e3e2e0;
  display: flex;
  position: relative;
  flex-direction: column;
  padding: 3.7vh 0;
  text-align: center;
  align-items: center;
}

.info .subtitle {
  font-family: "Verlag";
  font-weight: bold;
  font-size: 16px;
  letter-spacing: .1em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info .title {
  font-family: "Verlag";
  font-weight: normal;
  letter-spacing: .22em;  
  font-size: 23px;
  margin-top: 4vh;
}

.info .divider {
  width: 95vw;
  height: 1px;
  background: currentColor;
  border: none;
  margin-top: 7.4vh;
  margin-bottom: 1.7vh;
  opacity: 0.5;
}

.info .body-text {
  font-family: "Lora";
  font-weight: normal;
  text-align: center;
  font-size: 18px;
  margin: 0 auto;
  line-height: 1.6;
}

.cta-link {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-decoration: none;
  z-index: 2;
  white-space: nowrap;
  color: #295798;
  font-family: "Verlag";
  font-weight: normal;
  letter-spacing: .22em;  
  font-size: 23px;
}

.cta-link::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 91%;
  height: 1px;
  background-color: #295798;
}

.image-link-wrap {
  position: relative;
  width: 50%;
  max-width: 28rem;
  margin-top: 5.55vh;
  margin-bottom: 11.1vh;
}

.info .info-image {
  display: block;
  width: 100%;
  max-width: 28rem;
  height: auto;
  margin: 0;
  margin-left: -5%;
}

#vidIntro, #vidLoop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

.credit{
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: auto;
}

.credit p{
  position: relative;
  margin-bottom: 2vh;
  margin-right: 1vw;
  margin-left: auto;
  opacity: 0.3;
  writing-mode: tb-rl;
  transform: rotate(-180deg);
  font-family: sans-serif;
  font-size: 12px;
}

@media (min-width: 768px) {
  .hero-names {
  padding-top: 45vh;
  padding-left: 16vw;
  padding-right: 16vw;
  text-align: center;
  z-index: 2;
  display: flex;
  justify-content: space-between; 
  gap: 0.5rem;          
}

.hero-names .name {
  font-size: 46px;
  letter-spacing: .22em;   
}

.info .title {
  font-size: 46px;
  letter-spacing: .22em;  
}

.info .subtitle {
  font-size: 24px;
}

.info .body-text {
  font-size: 24px;
  padding: 0 33vw;
}

.info .divider{
  width: 40vw;
}

.info {
  background: #e3e2e0;
  display: flex;
  flex-direction: column;
  padding: 3.7vh 0;
  text-align: center;
  align-items: center;
}

.cta-link {
  font-size: 32px;
}

.info .info-image {
  max-width: 20rem;
  height: auto;
  margin-left: 12%;
}

}