:root {
  color-scheme: light;
  --page: #e8e8de;
  --surface: #f6f4e9;
  --text: #162b35;
  --accent: #db704c;
}

* { box-sizing: border-box; }
html { min-height: 100%; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: clamp(1rem, 3vw, 2.5rem);
  background: var(--page);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr);
  align-items: center;
  isolation: isolate;
  min-height: calc(100vh - clamp(2rem, 6vw, 5rem));
  min-height: calc(100dvh - clamp(2rem, 6vw, 5rem));
  overflow: hidden;
  background: var(--surface);
  border-radius: 0.4rem 3.5rem 0.4rem 0.4rem;
  box-shadow: 0 1.25rem 4rem rgba(22, 43, 53, 0.08);
}

.stage__edge {
  z-index: 1;
  align-self: stretch;
  background: var(--text);
  clip-path: polygon(0 0, 80% 0, 100% 100%, 0 100%);
}

.stage__content {
  z-index: 2;
  width: min(100%, 52rem);
  padding: 5rem clamp(2rem, 7vw, 8rem) 5rem clamp(1rem, 2vw, 3rem);
}

.stage__mark {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  height: 2.5rem;
  margin-bottom: clamp(2.5rem, 8vh, 6rem);
}

.stage__mark span { width: 0.55rem; background: var(--accent); border-radius: 100px; }
.stage__mark span:nth-child(1) { height: 1.3rem; }
.stage__mark span:nth-child(2) { height: 2.4rem; }
.stage__mark span:nth-child(3) { height: 1.8rem; }

h1 {
  max-width: 12ch;
  margin: 0;
  font-family: ui-rounded, system-ui, sans-serif;
  font-size: clamp(3.25rem, 7vw, 7.75rem);
  font-weight: 720;
  line-height: 1.02;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.stage__rule {
  width: min(8rem, 35%);
  height: 0.35rem;
  margin-top: clamp(3rem, 9vh, 7rem);
  border-radius: 1rem;
  background: var(--accent);
}

.stage__orbit {
  position: absolute;
  z-index: 0;
  width: min(42vw, 36rem);
  aspect-ratio: 1;
  right: -12rem;
  bottom: -16rem;
  border: clamp(2rem, 5vw, 5rem) solid rgba(219, 112, 76, 0.12);
  border-radius: 50%;
}

@media (max-width: 639px) {
  body { padding: 0.75rem; }
  .stage {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: calc(100dvh - 1.5rem);
    border-radius: 0.3rem 2rem 0.3rem 0.3rem;
  }
  .stage__edge {
    flex: 0 0 20vh;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 100%);
  }
  .stage__content {
    padding: 2.5rem clamp(1.5rem, 7vw, 3rem) 4rem;
    margin: auto 0;
  }
  .stage__mark { margin-bottom: 2.5rem; }
  h1 { font-size: clamp(3.2rem, 12vw, 5rem); }
  .stage__orbit { width: 20rem; right: -10rem; bottom: -9rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
