@font-face {
    font-family: 'MyCustomFont';
    src: url('fonts/TYSerif-D.woff2') format('woff2');
    font-display: swap;
    font-weight: 400;
    font-style: normal;
  }

@font-face {
    font-family: 'MyCustomFont2';
    src: url('fonts/AktivGrotesk-Regular.woff2') format('woff2');
    font-display: swap;
    font-weight: 400;
    font-style: normal;
  }

.member-title {
	font-family: 'MyCustomFont', serif !important;
	margin-bottom: -5px !important;
}

pre, p {
  font-family: 'MyCustomFont2', sans-serif !important;
}
  
  :root {
    --content-max-width: 920px;
    --gutter: 24px;
  }
  
  .coming-soon.reveal { transform: translateY(-20px); }
  
  
  * { box-sizing: border-box; }
  html, body { height: 100%; }
  
  body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'MyCustomFont', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: #fff;
    background: #000;
    position: relative;
      overflow: visible !important;
  }
  
  /* This defines the “framed” viewport */
  .video-cont {
    position: fixed;
    inset: 0;
    padding: 1%;           /* margin-like space on all sides */
    box-sizing: border-box;
    z-index: -1;                /* keep it behind all content */
    opacity: 0.8;
  }
  
  .wrap {
    position: relative;
    width: 100%;
    max-width: var(--content-max-width);
    padding: 0 var(--gutter);
    text-align: center;
    container-type: inline-size;
    transform: translateY(-10vh); 
    z-index: 1;
  }
  
  video#bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    display: block;
    transition: opacity 800ms ease;
    filter: saturate(1.05) contrast(1.05);
    border-radius: 24px;
  }
  
  .logo-text, .logo-img {
    display: inline-block;
  }
  
  .logo-text {
    font-size: clamp(24px, 3.2vw, 40px);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
  }
  
  .logo-img {
    max-width: min(54vw, 440px);
    height: auto;
  }
  
  .divider {
    width: 65%;
    height: 1px;
    background: rgba(255,255,255,0.9);
	margin: 65px auto 75px;
	margin: 34px auto 62px;
  }
  
  .divider2 {
    width: 65%;
    height: 1px;
    background: rgba(255,255,255,0.9);
    margin: 40px auto 62px;
  }
  
  .tagline {
    font-size: clamp(20px, 3.0vw, 42px);
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.1;
  }
  
  .tagline .line2 { display: inline-block; margin-top: 0.25em; }
  
  
  #re { opacity: 0.9; }
  #in { 	
          white-space: nowrap;
           max-width: 92vw;
            letter-spacing: 0.1em;
            font-size: clamp(40px, 10cqi, 96px); 
      }
  #word { 
          display: inline-block;
          transition: opacity 400ms ease; 
          white-space: nowrap;
           max-width: 92vw;
            letter-spacing: 0.1em;
            font-size: clamp(40px, 10cqi, 96px);
      }
  
  #word .letter { display: inline-block; }
  
  
  .coming-soon {
    font-size: clamp(18px, 2.2vw, 30px);
    margin-top: 20px;
    letter-spacing: 0.15em;
  }
  
  /* Fade-up reveal utility */
  .reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1000ms ease, transform 1000ms ease;
    will-change: opacity, transform;
  }
  
  .reveal.in {
    opacity: 1;
    transform: translateY(0);
  }
  
  
  
  /* Smooth typewriter letters */
  #word { display: inline-block; }           /* keeps letter transforms tidy */
  #word .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.6em) rotate(2deg);
    transition: opacity 320ms ease, transform 320ms ease;
    will-change: opacity, transform;
  }
  #word .char.in {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
  /* optional: a tiny ripple-out when swapping words */
  #word .char.out {
    opacity: 0;
    transform: translateY(-0.4em) rotate(-2deg);
  }
  
  .ml3 {
    font-weight: 900;
    font-size: 3.5em;
  }
  
  .footer {
    position: fixed;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    letter-spacing: 0.05em;
  }
  
  .footer a {
    color: rgba(255,255,255,0.8);
    margin-left: 12px;
    display: inline-block;
    transition: color 0.3s ease;
  }
  
  .footer a:hover {
    color: #fff;
  }
  
  .footer svg {
    width: 18px;
    height: 18px;
    vertical-align: sub;
  }
  
  /* at the end of style.css */
  .coming-soon.reveal { 
    opacity: 0; 
    transform: translateY(50px);
    transition: none !important;     /* avoid fighting the global .reveal transition */
  }
  .coming-soon.reveal.in { 
    animation: csFadeUp 1000ms ease forwards;
  }
  
  @keyframes csFadeUp {
    from { opacity: 0; transform: translateY(50px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  
  
  @media (prefers-reduced-motion: reduce) {
    .reveal, .reveal.in, video#bg {
      transition: none !important;
      transform: none !important;
      opacity: 1 !important;
    }
  }
  
  @media (max-width: 420px) {
    .word .in { font-size: clamp(36px, 6.5vw, 100px); }
  }