@font-face {
  font-family: 'Degular Demo';
  src: url('DegularDemo-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@property --pulse {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 30%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Degular Demo', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  color: black;
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at center, #e2be94 var(--pulse), #df9241 100%);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%   { --pulse: 20%; }
  50%  { --pulse: 70%; }
  100% { --pulse: 20%; }
}

.scroll-container {
  position: relative;
  z-index: 2;
}

.stair-section {
  height: 80vh;
  display: flex;
  align-items: center;
  padding-left: var(--x, 2vw);
}

.stair {
  width: clamp(200px, 26vw, 360px);
  font-size: clamp(0.82rem, 1.15vw, 0.98rem);
  line-height: 1.7;
  letter-spacing: -0.01em;
  color: black;
}

.stair.dialogue {
      padding-left: 1em;
}

#p1 {
  align-self: center; 
  margin-top: 0;
  line-height: 1.2;
  margin-left: 3em;
  margin-right: 3em;
  width: clamp(200px, 22vw, 320px);
  padding-left: 5px;
}

#p2 {
  align-self: center; 
  margin-top: 0;
  line-height: 1.2;
  margin-left: 3em;
  margin-right: 3em;
  width: clamp(200px, 23.5vw, 340px);
  padding-left: 5px;
}

#p3 {
align-self: center; 
  margin-top: 0;
  line-height: 1.2;
  margin-left: 3em;
  margin-right: 3em;
  width: clamp(200px, 22vw, 320px);
  padding-left: 5px;
}

#p4 {
  align-self: center; 
  font-style: normal;
  margin-top: 0;
  line-height: 1.2;
  margin-left: 3em;
  margin-right: 2em;
  width: clamp(200px, 35vw, 500px);
  padding-left: 5px;
}

#p5 {
     align-self: center; 
  font-style: normal;
  margin-top: 0;
  line-height: 1.2;
  margin-left: 1.3em;
  margin-right: 2em;
  width: clamp(200px, 35vw, 500px);
  padding-left: 5px;

}

#split-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 2vw;
  padding-right: 4vw;
  height: 100vh;
}

#p6 {
  font-style: normal;
  margin-top: 0;
  line-height: 1.2;
  width: clamp(200px, 30vw, 420px);
  padding-left: 5px;
}

#p7 {
  font-style: normal;
  margin-top: 0;
  line-height: 1.2;
  text-align:right;
  width: clamp(200px, 30vw, 420px);
  padding-right: 5px;
}

.glass-btn {
  background: rgba(255, 224, 194, 0.56);
  border-radius: 30px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 30px;
  color: #000000;
  font-size: 18px;
  display: block;
  width: fit-content;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: 'Degular Demo', sans-serif;
  margin: 0 auto;
  margin-bottom: 30px;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.7);
    scale: 1.05;
    color: #ffffff;
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.15);
}

dialog {
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 1em 1.5em;
  max-width: fit-content;
  white-space: nowrap;
  text-align: center;
  font-family: 'Degular Demo', sans-serif;
  font-size: 20px;
  letter-spacing: -0.01em;
  position: fixed;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  margin: 0;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

dialog p {
margin-top: 1em;
  margin-bottom: 1em;
  color: black;
}

#close-dialog {
  background: rgba(255, 224, 194, 0.56);
  border-radius: 30px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 20px;
  color: black;
  font-size: clamp(0.82rem, 1.15vw, 0.98rem);
  font-family: 'Degular Demo', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: -0.01em;
  outline: none;
}

#close-dialog:hover {
  background: rgba(255, 224, 194, 0.8);
  color: white;
}