




@font-face {
  font-family: "PragRoman";
  src:
    url("fonts/PragRoman.woff2") format("woff2"),
    url("fonts/PragRoman.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: "Windlass";
  src:
    url("fonts/Windlass.woff2") format("woff2"),
    url("fonts/Windlass.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}




*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}


html {
  scroll-behavior: auto !important;
  overflow-anchor: none; 
}


body {
  font-family: "PragRoman", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f9fafb;
  background: #000;
  line-height: 1.5;

  
  scroll-behavior: auto;

  
  scroll-snap-type: y mandatory;
}


.app {
  min-height: 100vh;
  min-height: 100svh;
}


.screen {
  min-height: 100vh;
  min-height: 100svh; 
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;

  
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.screen__inner {
  max-width: 48rem;
  text-align: center;
}


.screen--stage {
  background: #5b3d28; 
}

.screen--story-intro {
  background: transparent; 
}

.screen--why {
  background: transparent; 
}

.stage__headline,
.story-intro__headline,
.why__headline {
  margin: 0 0 1rem;
  font-family: "Windlass", "PragRoman", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;               
  letter-spacing: 0.08em;         
  text-transform: uppercase;
  font-size: 1.1rem;
  opacity: 0.95;
}

.stage__tagline,
.story-intro__copy,
.story-intro__body,
.why__copy,
.why__body {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.92;
}


#stage {
  position: relative;
  width: 100vw;
  height: 100vh;         
  height: 100svh;        
  overflow-x: hidden;    
  background-image: url("images/OakTable.jpeg"); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #5b3d28;
  outline: none;
}


#hud {
  position: absolute;
  top: 10px;
  left: 12px;
  display: none;            
  background: rgba(17, 24, 39, 0.82);
  color: #f9fafb;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
  z-index: 450;             
  white-space: pre;
}


.overlay {
  position: absolute;
  pointer-events: none;
  z-index: 900;
  border-radius: 8px;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.30);
  display: none;
}

#overlay-yellow {
  background: rgba(252, 211, 77, 0.14);
  outline: 2px dashed rgba(120, 90, 0, 0.55);
}

#overlay-green {
  background: rgba(45, 212, 191, 0.18);
  outline: 2px dashed rgba(0, 90, 60, 0.7);
}


#deck {
  position: absolute;
  width: 0;
  height: 0;
  z-index: 100;
}


.card {
  position: absolute;
  width: var(--card-w);
  height: calc(var(--card-w) * var(--card-aspect));
  transform: translate(-50%, -50%) translate3d(0, 0, 0);
  transform-style: preserve-3d;
  will-change: transform;
  z-index: 200;
}

.card-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 550ms ease;
}

.face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
  background-size: cover;
  background-position: center;
}

.face.back {
  transform: rotateY(180deg);
}

.face.front {
  transform: rotateY(0deg);
}


.stage__placeholder {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #f9fafb;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}

.stage__headline {
  font-size: 0.92rem;
}

.stage__tagline {
  font-size: 0.90rem;
}





.legal-gate {
  text-align: center;
  padding: 0.6rem 1.5rem 0.8rem;
  background: #1a1008;
}

.legal-gate__link {
  font-family: 'PragRoman', Georgia, serif;
  font-size: 0.68rem;
  color: #251a0e;
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.legal-gate__link:hover,
.legal-gate__link:focus-visible {
  color: #8a7a5a;
}

.legal-gate__link:focus-visible {
  outline: 2px solid #8a7a5a;
  outline-offset: 3px;
  border-radius: 2px;
}


@media (max-width: 820px) {
  .legal-gate__link {
    color: #3d2a18;
  }
}


@media (max-width: 520px) {
  .legal-gate__link {
    color: #2e2010;
  }
}
