/* ========================================
   Sensemaking Scenius - Styles
   Faithful reproduction of kpaxle.mmm.page/scenius
   ======================================== */

/* ----------------------------------------
   CSS Custom Properties
   ---------------------------------------- */
:root {
  --color-bg: rgb(129, 215, 192);
  --color-text: #ffffff;
  --color-pink: #e8b8d4;
  --color-purple: rgb(207, 92, 215);
  --color-shadow: rgba(0, 0, 0, 0.24);

  --font-display: 'Calistoga', Georgia, serif;
  --font-glitch: 'Rubik Glitch', cursive;
  --font-body: 'EB Garamond', Georgia, serif;
  --font-sans: 'Lato', sans-serif;
}

/* ----------------------------------------
   Reset & Base
   ---------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-display);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.4;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

/* ----------------------------------------
   Page Layout
   ---------------------------------------- */
.page-wrapper {
  width: 100%;
  overflow-x: hidden;
}

main {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------------------------------------
   Sections
   ---------------------------------------- */
.section {
  position: relative;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ----------------------------------------
   Typography
   ---------------------------------------- */
.text {
  margin-bottom: 6px;
}

.text--small {
  font-size: 14px;
  line-height: 1.6;
}

.text--small-medium {
  font-size: clamp(18px, 3vw, 22px);
}

.text--medium {
  font-size: clamp(28px, 5vw, 35px);
}

.text--large {
  font-size: clamp(32px, 6.5vw, 44px);
}

.text--xlarge {
  font-size: clamp(38px, 7.5vw, 51px);
}

.text--title {
  font-size: clamp(48px, 11vw, 76px);
  font-weight: 700;
  font-style: italic;
  line-height: 1.05;
}

.text--glitch {
  font-family: var(--font-glitch);
}

.text--body {
  font-family: var(--font-body);
}

.text--sans {
  font-family: var(--font-sans);
}

.text--italic {
  font-style: italic;
}

.text--shadow {
  text-shadow: 2px 2px 8px var(--color-shadow);
}

.text--center {
  text-align: center;
}

/* ----------------------------------------
   Content Alignment
   ---------------------------------------- */
.content {
  position: relative;
  z-index: 2;
}

.content--left {
  text-align: left;
}

.content--right {
  text-align: right;
}

.content--center {
  text-align: center;
}

.content--bottom {
  margin-top: 80px;
}

/* ----------------------------------------
   Decorative Elements
   ---------------------------------------- */
.decoration {
  position: absolute;
  pointer-events: none;
}

/* Butterflies */
.butterfly {
  width: 70px;
  height: auto;
  animation: float 4s ease-in-out infinite;
}

.butterfly--top-right {
  top: 10px;
  right: -10px;
}

.butterfly--mid-right {
  top: 140px;
  right: 60px;
  animation-delay: 0.7s;
}

.butterfly--bottom {
  bottom: 10px;
  left: 40%;
  animation-delay: 1.4s;
}

.butterfly--top-left {
  top: 10px;
  left: -10px;
}

.butterfly--mid-left {
  top: 120px;
  left: 40px;
  animation-delay: 0.5s;
}

.butterfly--top {
  top: 0;
  left: 25%;
  animation-delay: 0.3s;
}

/* Computer + triangle */
.decoration-wrapper--computer {
  position: relative;
  width: 260px;
  margin: 40px 0;
  align-self: flex-start;
}

.triangle {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 170px solid var(--color-pink);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(180deg);
  z-index: 0;
}

.computer {
  position: relative;
  z-index: 1;
  width: 180px;
  margin: 0 auto;
}

/* Lightbulb */
.lightbulb {
  width: 100px;
  left: 10%;
  top: 25%;
}

/* Sun */
.sun {
  width: 110px;
}

.sun--right {
  right: -20px;
  top: 10px;
}

.section--destroyed .sun {
  bottom: 10%;
  right: 10%;
  top: auto;
}

/* Plant + star */
.decoration-wrapper--plant {
  position: relative;
  width: 140px;
  margin-left: auto;
  margin-right: 20px;
}

.star {
  position: absolute;
  width: 120px;
  height: 120px;
  background: var(--color-pink);
  clip-path: polygon(
    50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%,
    50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.plant {
  position: relative;
  z-index: 1;
  width: 120px;
}

/* Flower */
.flower {
  width: 120px;
}

.flower--left {
  left: 5%;
  top: 15%;
}

/* Sparkles */
.sparkles {
  width: 220px;
  top: -20px;
  right: 5%;
  opacity: 0.85;
}

/* Lightning */
.lightning {
  position: absolute;
  width: 70px;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
}

/* ----------------------------------------
   GIF Window (psychedelic overlay)
   ---------------------------------------- */
.gif-window-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 40px auto;
  transform: rotate(-5deg);
}

.gif-exe-image {
  width: 100%;
  display: block;
  box-shadow: 4px 4px 24px var(--color-shadow);
  border-radius: 4px;
}

.gif-window__overlay {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
}

/* ----------------------------------------
   Spirals
   ---------------------------------------- */
.spirals {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

.spiral {
  position: absolute;
  opacity: 0.7;
}

.spiral--1 { top: 15%; right: 2%;  width: 100px; height: 100px; }
.spiral--2 { top: 20%; right: 18%; width: 85px;  height: 85px; }
.spiral--3 { top: 12%; right: 38%; width: 90px;  height: 90px; }
.spiral--4 { top: 55%; left: 2%;   width: 120px; height: 120px; }
.spiral--5 { top: 50%; left: 22%;  width: 105px; height: 105px; }
.spiral--6 { top: 60%; right: 15%; width: 100px; height: 100px; }
.spiral--7 { top: 56%; right: 2%;  width: 110px; height: 110px; }

@keyframes spiralSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.spiral--1 { animation: spiralSpin 12s linear infinite; }
.spiral--2 { animation: spiralSpin 15s linear infinite reverse; }
.spiral--3 { animation: spiralSpin 18s linear infinite; }
.spiral--4 { animation: spiralSpin 14s linear infinite reverse; }
.spiral--5 { animation: spiralSpin 16s linear infinite; }
.spiral--6 { animation: spiralSpin 20s linear infinite reverse; }
.spiral--7 { animation: spiralSpin 13s linear infinite; }

/* ----------------------------------------
   Tarot Card
   ---------------------------------------- */
.tarot-card {
  position: relative;
  width: 160px;
  margin: 40px auto;
}

.tarot-card__image {
  width: 100%;
  filter: drop-shadow(0 8px 24px var(--color-shadow));
}

/* ----------------------------------------
   Zoom Screenshot
   ---------------------------------------- */
.zoom-screenshot {
  width: 100%;
  max-width: 520px;
  margin: 50px auto;
  transform: rotate(-3deg);
  box-shadow: 0 12px 48px var(--color-shadow);
  border-radius: 8px;
  overflow: hidden;
}

.zoom-screenshot img {
  width: 100%;
}

/* ----------------------------------------
   Greenhouse Image
   ---------------------------------------- */
.greenhouse-image {
  width: 100%;
  max-width: 520px;
  margin: 50px auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 48px var(--color-shadow);
}

.greenhouse-image img {
  width: 100%;
}

/* ----------------------------------------
   CTA Section
   ---------------------------------------- */
.section--cta {
  padding-bottom: 100px;
  align-items: center;
}

.button--cta-pill {
  background: #ffffff;
  color: var(--color-purple);
  border: none;
  border-radius: 0;
  padding: 48px 90px;
  font-family: var(--font-display);
  font-size: clamp(24px, 4.5vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 60px auto 30px;
  cursor: pointer;
  box-shadow: 6px 6px 0 var(--color-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button--cta-pill:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--color-shadow);
}

.link--about {
  color: rgb(0, 0, 238);
  text-decoration: underline;
  font-family: var(--font-sans);
  font-size: 16px;
  display: inline-block;
  margin-top: 16px;
}

/* ----------------------------------------
   Title Block
   ---------------------------------------- */
.title-block {
  margin-top: 60px;
}

/* ----------------------------------------
   Section-specific
   ---------------------------------------- */
.section--intro {
  padding-top: 120px;
  min-height: 70vh;
}

.section--boiled {
  min-height: 70vh;
  align-items: center;
}

.section--lost {
  min-height: 90vh;
}

.section--destroyed {
  min-height: 80vh;
  gap: 50px;
}

.destroyed-gap {
  margin-top: 20px;
}

.section--rebuild {
  min-height: 90vh;
  align-items: center;
}

.section--community {
  min-height: 80vh;
  align-items: center;
}

.section--vision {
  min-height: 90vh;
  align-items: center;
}

.section--abode {
  min-height: 90vh;
  gap: 50px;
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.footer {
  text-align: center;
  padding: 80px 16px 40px;
  max-width: 700px;
  margin: 0 auto;
}

.credits {
  margin-bottom: 32px;
}

.credits p {
  font-family: var(--font-sans);
}

.credit-link {
  text-decoration: underline;
  font-weight: 600;
}

.copyright {
  margin-top: 32px;
  font-size: 12px;
}

.email {
  margin-top: 8px;
  font-size: 10px;
}

/* ----------------------------------------
   Animations
   ---------------------------------------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ----------------------------------------
   Responsive
   ---------------------------------------- */
@media (max-width: 600px) {
  main {
    padding: 0 16px;
  }

  .section {
    padding: 50px 0;
  }

  .spiral {
    width: 50px !important;
    height: 50px !important;
  }

  .gif-window-wrapper {
    max-width: 95%;
  }

  .zoom-screenshot,
  .greenhouse-image {
    max-width: 100%;
  }

  .button--cta-pill {
    padding: 32px 50px;
    font-size: 22px;
  }

  .decoration-wrapper--computer {
    width: 200px;
  }

  .butterfly {
    width: 50px;
  }
}

/* ========================================
   About Page Styles
   ======================================== */
.about-header {
  padding: 60px 0 40px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.about-header__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 40px);
  font-style: italic;
  line-height: 1.1;
  color: #2a2a2a;
}

.about-header__home {
  font-family: var(--font-sans);
  font-size: 16px;
  text-decoration: underline;
  color: #2a2a2a;
}

.about-section {
  padding: 40px 0;
  position: relative;
}

.about-section__heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 44px);
  margin-bottom: 24px;
  display: inline-block;
  background: rgba(0, 80, 60, 0.25);
  padding: 8px 20px;
  border-radius: 12px;
  color: #2a2a2a;
}

.about-text {
  font-family: var(--font-body);
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.7;
  margin-bottom: 18px;
  color: #2a2a2a;
}

.about-text--large {
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 600;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.about-list li {
  font-family: var(--font-body);
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.7;
  margin-bottom: 14px;
  padding-left: 24px;
  position: relative;
  color: #2a2a2a;
}

.about-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
}

.about-cta {
  background: rgba(180, 120, 200, 0.35);
  border-radius: 20px;
  padding: 36px 32px;
  margin: 32px 0;
  text-align: center;
}

.about-cta .about-text {
  color: #2a2a2a;
  margin-bottom: 10px;
}

.about-cta .about-text:first-child {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
}

.about-cta a {
  color: rgb(0, 0, 200);
  text-decoration: underline;
  font-weight: 600;
}

.about-principles {
  margin: 20px 0;
}

.about-principle {
  margin-bottom: 24px;
}

.about-principle__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 26px);
  margin-bottom: 6px;
  color: #2a2a2a;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.about-principle__text {
  font-family: var(--font-body);
  font-size: clamp(17px, 2.3vw, 20px);
  line-height: 1.7;
  color: #2a2a2a;
}

.about-footer {
  text-align: center;
  padding: 60px 16px 40px;
}

.about-footer p {
  font-family: var(--font-sans);
  font-size: 14px;
  margin-bottom: 6px;
  color: #2a2a2a;
}
