@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/InstrumentSerif-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/InstrumentSerif-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

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

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  --hero01-bg: #eeeeee;
  --hero01-text: #2e2a28;
  --hero01-button-bg: rgba(246, 242, 238, 0.96);
  --hero01-button-border: rgba(130, 118, 108, 0.14);
  --hero01-button-shadow: 0 18px 38px rgba(93, 79, 66, 0.13);
  --hero01-button-glow: rgba(255, 176, 112, 0.62);
  --hero01-button-glow-soft: rgba(255, 214, 178, 0.55);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  background: var(--hero01-bg);
  font-family: Georgia, "Times New Roman", serif;
}

.page-shell {
  min-height: 100vh;
}

.hero01-stage {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--hero01-bg);
}

.hero01-scene-frame {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

.hero01-scene {
  width: 100%;
  min-height: 100vh;
}

.hero01-scene canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero01-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.7rem;
  padding: clamp(9rem, 20vh, 14rem) 1.5rem 2rem;
  pointer-events: none;
  text-align: center;
}

.hero01-title {
  margin: 0;
  max-width: none;
  color: var(--hero01-text);
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-size: clamp(3.15rem, 5.7vw, 5.15rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.05em;
}

.hero01-title span {
  display: block;
}

.hero01-line {
  display: block;
  white-space: nowrap;
}

.hero01-subtitle {
  margin: 0;
  max-width: 43rem;
  color: rgba(46, 42, 40, 0.92);
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(1.05rem, 2.05vw, 1.65rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero01-actions {
  position: relative;
  display: flex;
  justify-content: center;
  pointer-events: auto;
}

.hero01-actions::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.7rem;
  width: 78%;
  height: clamp(1.35rem, 2.3vw, 1.55rem);
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, var(--hero01-button-glow) 18%, var(--hero01-button-glow-soft) 50%, var(--hero01-button-glow) 82%, transparent 100%);
  filter: blur(16px);
  opacity: 0.95;
  transform: translateX(-50%);
  animation: hero01-button-glow 4.6s ease-in-out infinite;
}

.hero01-button {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  z-index: 1;
  display: inline-block;
  min-width: clamp(12.2rem, 28vw, 13rem);
  padding: clamp(0.95rem, 2.2vw, 1rem) clamp(1.35rem, 4vw, 1.7rem);
  border: 1px solid var(--hero01-button-border);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(251, 248, 245, 0.98), rgba(242, 237, 232, 0.96));
  box-shadow: var(--hero01-button-shadow);
  color: var(--hero01-text);
  cursor: pointer;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(0.94rem, 1.8vw, 1rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  text-align: center;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.hero01-button::after {
  content: "";
  position: absolute;
  inset: -0.3rem;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.44), transparent 68%);
  opacity: 0.7;
  z-index: -1;
}

.hero01-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 42px rgba(93, 79, 66, 0.18);
  background: linear-gradient(180deg, rgba(255, 251, 248, 1), rgba(244, 239, 234, 0.98));
}

.hero01-button:focus-visible {
  outline: 2px solid rgba(46, 42, 40, 0.35);
  outline-offset: 3px;
}

@keyframes hero01-button-glow {
  0% {
    transform: translateX(-3%) scaleX(0.96);
    opacity: 0.82;
  }

  50% {
    transform: translateX(3%) scaleX(1.04);
    opacity: 1;
  }

  100% {
    transform: translateX(-3%) scaleX(0.96);
    opacity: 0.82;
  }
}

.hero01-anchor {
  height: 1px;
}

@media (max-width: 900px) {
  .hero01-copy {
    gap: 1.3rem;
    padding-top: clamp(7rem, 16vh, 10rem);
  }

  .hero01-title {
    font-size: clamp(2.7rem, 6.9vw, 4.15rem);
    line-height: 0.9;
  }

  .hero01-subtitle {
    max-width: 33rem;
    font-size: clamp(0.98rem, 2.6vw, 1.45rem);
  }
}

@media (max-width: 560px) {
  .hero01-copy {
    justify-content: flex-start;
    padding: 0 1rem 2.5rem;
    padding-top: clamp(13.5rem, 38svh, 17rem) !important;
    gap: 1.25rem;
  }

  .hero01-title {
    font-size: clamp(2.45rem, 10.6vw, 3.45rem);
    line-height: 0.93;
    letter-spacing: -0.045em;
  }

  .hero01-line {
    white-space: normal;
  }

  .hero01-subtitle {
    max-width: 18.5rem;
    font-size: 0.96rem;
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  .hero01-button {
    min-width: 12.2rem;
    padding: 0.95rem 1.35rem;
    font-size: 0.94rem;
  }

  .hero01-actions::before {
    width: 86%;
    bottom: -0.65rem;
    height: 1.35rem;
  }
}
