/* =============================================
   ENKIAN HOME PAGE - THE HOUSE v5
   ============================================= */

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

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  background: #000000;
  color: #e8e6e0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* GLOBAL */
.enkian-page {
  width: 100%;
  margin: 0;
  padding: 0;
}

.enkian-section {
  width: 100%;
  padding: 5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.enkian-section-inner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Colors */
.gold { color: #c9a962; }
.white { color: #f8f7f4; }

/* =============================================
   SECTION 1: HERO + WELCOME
   ============================================= */
.enkian-hero {
  min-height: calc(100vh - 70px);
  width: 100%;
  background: #000000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem;
}

.enkian-hero-inner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.enkian-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 7vw, 5rem);
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  text-transform: uppercase;
  line-height: 1.15;
  animation: fadeIn 0.7s ease-out forwards;
}

/* Dodecahedron */
.dodeca-container {
  width: 280px;
  height: 280px;
  perspective: 1000px;
  animation: fadeIn 1s ease-out forwards;
  animation-delay: 0.15s;
  margin: 2rem 0;
}

.dodecahedron {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: enkian-rotate 30s linear infinite;
}

@keyframes enkian-rotate {
  from { transform: rotateX(0deg) rotateY(0deg); }
  to { transform: rotateX(360deg) rotateY(360deg); }
}

.dodeca-sphere {
  position: absolute;
  width: 32px;
  height: 32px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 30% 25%,
    #f7e8c4 0%,
    #e5c878 20%,
    #c9a962 45%,
    #a8863d 70%,
    #8a6b2f 100%
  );
  box-shadow:
    0 0 20px rgba(201,169,98,0.7),
    0 0 40px rgba(201,169,98,0.35),
    0 0 60px rgba(201,169,98,0.15),
    inset -4px -4px 10px rgba(0,0,0,0.3),
    inset 3px 3px 8px rgba(255,255,255,0.25);
  z-index: 5;
}

.dodeca-face {
  position: absolute;
  width: 90px;
  height: 90px;
  left: 50%;
  top: 50%;
  margin-left: -45px;
  margin-top: -45px;
  background: linear-gradient(135deg, rgba(201,169,98,0.15), rgba(201,169,98,0.05));
  border: 1px solid rgba(201,169,98,0.4);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Mono', monospace;
  font-size: 0.4rem;
  color: #c9a962;
  opacity: 0.9;
  letter-spacing: 0.03em;
}

.dodeca-face:nth-child(1)  { transform: translateZ(75px); }
.dodeca-face:nth-child(2)  { transform: rotateY(72deg) translateZ(75px); }
.dodeca-face:nth-child(3)  { transform: rotateY(144deg) translateZ(75px); }
.dodeca-face:nth-child(4)  { transform: rotateY(216deg) translateZ(75px); }
.dodeca-face:nth-child(5)  { transform: rotateY(288deg) translateZ(75px); }
.dodeca-face:nth-child(6)  { transform: rotateX(116.565deg) translateZ(75px); }
.dodeca-face:nth-child(7)  { transform: rotateY(72deg) rotateX(116.565deg) translateZ(75px); }
.dodeca-face:nth-child(8)  { transform: rotateY(144deg) rotateX(116.565deg) translateZ(75px); }
.dodeca-face:nth-child(9)  { transform: rotateY(216deg) rotateX(116.565deg) translateZ(75px); }
.dodeca-face:nth-child(10) { transform: rotateY(288deg) rotateX(116.565deg) translateZ(75px); }
.dodeca-face:nth-child(11) { transform: rotateX(180deg) translateZ(75px); }
.dodeca-face:nth-child(12) { transform: rotateX(63.435deg) translateZ(75px); }

.enkian-welcome {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  letter-spacing: 0.04em;
  color: #f8f7f4;
  opacity: 0.9;
  max-width: 640px;
  line-height: 1.85;
  margin-bottom: 2rem;
  animation: fadeIn 1s ease-out forwards;
  animation-delay: 0.3s;
}

.enkian-welcome-emphasis {
  color: #c9a962;
  font-style: italic;
}

.enkian-divider {
  width: 60px;
  height: 1px;
  background: #c9a962;
  opacity: 0.4;
  margin: 1rem 0;
  animation: fadeIn 1s ease-out forwards;
  animation-delay: 0.4s;
}

.enkian-tagline {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #c9a962;
  text-transform: uppercase;
  opacity: 0.7;
  animation: fadeIn 1s ease-out forwards;
  animation-delay: 0.5s;
}

/* =============================================
   SECTION 2: ARE YOU ENKIAN?
   ============================================= */
.enkian-question {
  background: #0a0a0a;
}

.enkian-section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.1em;
  color: #c9a962;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  line-height: 1.25;
}

.enkian-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: #e8e6e0;
  line-height: 1.9;
  max-width: 640px;
  opacity: 0.9;
}

.enkian-text p {
  margin-bottom: 1.5rem;
}

.enkian-text p:last-child {
  margin-bottom: 0;
}

.enkian-text-emphasis {
  color: #f8f7f4;
  font-style: italic;
}

.enkian-text-gold {
  color: #c9a962;
}

/* =============================================
   SECTION 3: THE CONSTELLATION
   ============================================= */
.enkian-constellation {
  background: #000000;
}

.enkian-engines-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 600px;
  width: 100%;
  margin: 2.5rem 0;
}

.enkian-engine-item {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: #c9a962;
  opacity: 0.85;
  padding: 0.9rem 0.5rem;
  border: 1px solid rgba(201,169,98,0.25);
  background: rgba(201,169,98,0.03);
  transition: all 0.2s ease;
}

.enkian-engine-item:hover {
  border-color: rgba(201,169,98,0.5);
  background: rgba(201,169,98,0.08);
}

/* =============================================
   SECTION 4: HOW IT WORKS
   ============================================= */
.enkian-how {
  background: #0a0a0a;
}

.enkian-steps {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 3rem;
  max-width: 850px;
  width: 100%;
  margin-top: 1rem;
}

.enkian-step {
  flex: 1;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.enkian-step-number {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 3.2rem;
  color: #c9a962;
  line-height: 1;
  margin-bottom: 1.25rem;
  opacity: 0.6;
}

.enkian-step-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: #f8f7f4;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.enkian-step-desc {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.05rem;
  color: #e8e6e0;
  line-height: 1.75;
  opacity: 0.85;
}

/* =============================================
   SECTION 5: COORDINATES PREVIEW
   ============================================= */
.enkian-preview {
  background: #000000;
}

.enkian-preview-intro {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  letter-spacing: 0.05em;
  color: #f8f7f4;
  margin-bottom: 2.5rem;
  line-height: 1.5;
  opacity: 0.9;
}

.enkian-coordinates-card {
  background: rgba(201,169,98,0.03);
  border: 1px solid rgba(201,169,98,0.2);
  padding: 2.5rem 3rem;
  max-width: 480px;
  width: 100%;
}

.enkian-coordinates-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: #c9a962;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  opacity: 0.6;
}

.enkian-coordinates-display {
  font-family: 'Space Mono', monospace;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  letter-spacing: 0.06em;
  color: #f8f7f4;
  line-height: 1.6;
}

.enkian-coordinates-display .dot {
  color: #c9a962;
  opacity: 0.4;
}

.enkian-preview-caption {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1rem;
  font-style: italic;
  color: #e8e6e0;
  opacity: 0.55;
  margin-top: 2rem;
  max-width: 400px;
}

/* =============================================
   SECTION 6: WHAT YOU'LL DISCOVER
   ============================================= */
.enkian-discover {
  background: #0a0a0a;
}

.enkian-discover-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4rem;
  max-width: 680px;
  width: 100%;
  margin-bottom: 3rem;
  text-align: left;
}

.enkian-discover-item {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: #e8e6e0;
  line-height: 1.8;
  opacity: 0.9;
  position: relative;
  padding-left: 1.6rem;
}

.enkian-discover-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 5px;
  height: 5px;
  background: #c9a962;
  border-radius: 50%;
  opacity: 0.6;
}

.enkian-discover-note {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1rem;
  color: #e8e6e0;
  line-height: 1.8;
  opacity: 0.6;
  max-width: 580px;
  font-style: italic;
  text-align: center;
}

/* =============================================
   SECTION 7: CTA
   ============================================= */
.enkian-cta {
  background: #000000;
  padding: 5rem 2rem 6rem;
}

.enkian-cta-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.1em;
  color: #f8f7f4;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.enkian-cta-sub {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: #e8e6e0;
  line-height: 1.7;
  opacity: 0.75;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.enkian-cta-button {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000000;
  background: #c9a962;
  border: 1px solid #c9a962;
  padding: 1.1rem 2.8rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-block;
}

.enkian-cta-button:hover {
  background: #f8f7f4;
  border-color: #f8f7f4;
  transform: translateY(-2px);
}

.enkian-cta-microcopy {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: #e8e6e0;
  opacity: 0.45;
  margin-top: 1.5rem;
  letter-spacing: 0.02em;
}

/* =============================================
   MOBILE RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .enkian-hero {
    padding: 2rem 1.5rem;
    min-height: auto;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .dodeca-container {
    width: 200px;
    height: 200px;
    margin: 1.5rem 0;
  }

  .dodeca-face {
    width: 70px;
    height: 70px;
    margin-left: -35px;
    margin-top: -35px;
    font-size: 0.32rem;
  }

  .dodeca-face:nth-child(1)  { transform: translateZ(58px); }
  .dodeca-face:nth-child(2)  { transform: rotateY(72deg) translateZ(58px); }
  .dodeca-face:nth-child(3)  { transform: rotateY(144deg) translateZ(58px); }
  .dodeca-face:nth-child(4)  { transform: rotateY(216deg) translateZ(58px); }
  .dodeca-face:nth-child(5)  { transform: rotateY(288deg) translateZ(58px); }
  .dodeca-face:nth-child(6)  { transform: rotateX(116.565deg) translateZ(58px); }
  .dodeca-face:nth-child(7)  { transform: rotateY(72deg) rotateX(116.565deg) translateZ(58px); }
  .dodeca-face:nth-child(8)  { transform: rotateY(144deg) rotateX(116.565deg) translateZ(58px); }
  .dodeca-face:nth-child(9)  { transform: rotateY(216deg) rotateX(116.565deg) translateZ(58px); }
  .dodeca-face:nth-child(10) { transform: rotateY(288deg) rotateX(116.565deg) translateZ(58px); }
  .dodeca-face:nth-child(11) { transform: rotateX(180deg) translateZ(58px); }
  .dodeca-face:nth-child(12) { transform: rotateX(63.435deg) translateZ(58px); }

  .dodeca-sphere {
    width: 24px;
    height: 24px;
  }

  .enkian-section {
    padding: 4rem 1.5rem;
  }

  .enkian-engines-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .enkian-engine-item {
    font-size: 0.55rem;
    padding: 0.7rem 0.3rem;
  }

  .enkian-steps {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }

  .enkian-step {
    max-width: 320px;
  }

  .enkian-step-number {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .enkian-coordinates-card {
    padding: 2rem 1.5rem;
  }

  .enkian-cta {
    padding: 4rem 1.5rem 5rem;
  }

  .enkian-cta-button {
    padding: 1rem 2.2rem;
    font-size: 1rem;
  }
}
