/* ═══════════════════════════════════════════════════════════
   entrepreneurs.css — Jaia Entrepreneur Portal
   ═══════════════════════════════════════════════════════════ */

html { scroll-behavior: smooth; }

/* ─── PAGE WRAPPER ─── */
#ent-page {
  font-family: var(--serif);
  color: var(--ink);
  background: #472914;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════
   HERO — nav + S1 share one wood background
   ═══════════════════════════════════════════════════════════ */
.e-hero {
  background: url('/images/layout_images/wood%20background.jpg') center / cover no-repeat;
}

/* ═══════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════ */
.e-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  height: 60px;
  display: flex;
  align-items: center;
  transition: background 0.3s ease;
}
/* Adds wood bg when scrolled past the hero */
.e-nav.scrolled {
  background: url('/images/layout_images/wood%20background.jpg') center / cover no-repeat;
  background-size: 110%;
}
.e-nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
}
.e-nav-icon {
  display: none;
}
.e-nav-wordmark {
  display: block;
  height: 30px;
  width: auto;
}
.e-nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.e-nav-links {
  display: none;
  list-style: none;
  gap: 40px;
}
.e-nav-links a {
  font-family: var(--caps);
  font-size: 16px;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--on-dark-2);
  text-decoration: none;
  transition: color 0.2s ease, filter 0.2s ease;
}
.e-nav-links a:hover  { color: var(--on-dark-1); }
.e-nav-links a:active { filter: brightness(0.97); }

.e-nav-ham {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.e-nav-ham span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--on-dark-2);
}

/* Mobile drawer */
.e-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: url('/images/layout_images/wood%20background.jpg') center / cover no-repeat;
  background-size: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0100px;
}
.e-drawer.open { display: flex; }
.e-drawer-close {
  position: absolute;
  top: 18px;
  right: 36px;
  background: none;
  border: none;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--on-dark-2);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.e-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.e-drawer-links a {
  font-family: var(--caps);
  font-size: 20px;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--on-dark-2);
  text-decoration: none;
  transition: color 0.2s ease;
}
.e-drawer-links a:hover { color: var(--on-dark-1); }

@media (min-width: 900px) {
  .e-nav        { height: 100px; }
  .e-nav-inner  { padding: 0 50px 10px; }
  .e-nav-wordmark { height: 40px; }
  .e-nav-links    { display: flex; }
  .e-nav-ham      { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   S1 · ENTREPRENEUR PORTAL CARD
   (background comes from .e-hero parent)
   ═══════════════════════════════════════════════════════════ */
.e-s1 {
  position: relative;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 30px 80px;
}

.e-s1-card {
  position: relative;
  width: 650px;
  max-width: 90vw;
  background-image: url('/images/layout_images/paper%20piece_rough%20edges.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 15% 8%;
  text-align: center;
  transform: translateY(var(--py, 0px));
  will-change: transform;
}

.e-s1-label {
  font-family: var(--caps);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.e-s1-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.e-s1-link {
  font-family: var(--caps);
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2  ;
  transition: filter 0.2s ease;
}
.e-s1-link:hover  { color: #B09B77; }
.e-s1-link:active { color: #C4BB9E; }

@media (min-width: 900px) {
  .e-s1       { padding: 40px 20px 110px; min-height: 0; }
  .e-s1-label { font-size: 18px; margin-bottom: 28px; }
  .e-s1-link  { font-size: 20px; letter-spacing: 0.16em; }
  .e-s1-links { gap: 24px; }
}

/* ═══════════════════════════════════════════════════════════
   S2 · FILM FRAME VIDEO
   Film_Frame_Stories_BG.webp = 1920×1080 (16:9)
   Overlaps S1 bottom and S3 top by 180px each
   ═══════════════════════════════════════════════════════════ */
.e-s2 {
  position: relative;
  z-index: 10;
  margin-top: -10vw;
  margin-bottom: -10vw;
}
.e-s2-inner {
  position: relative;
  width: 100%;
  height:100%;
  padding-bottom: 62%; /* 16:9 */
  background: url('/images/layout_images/Film_Frame_Stories_BG.webp') center / 100% 100% no-repeat;
}
.e-s2-iframe {
  position: absolute;
  aspect-ratio: 16/9;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: auto;
  border: none;
  z-index: 1;
}

.e-s2-poster {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  aspect-ratio: 16 / 9;
  z-index: 2;
  cursor: pointer;
}
.e-s2-poster-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes e-play-breathe {
  0%, 100% { filter: brightness(0.8); }
  50%       { filter: brightness(1.2); }
}
.e-s2-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gold);
  animation: e-play-breathe 2.4s ease-in-out infinite;
}
.e-s2-play:hover  { animation: none; filter: brightness(1.2); }
.e-s2-play:active { animation: none; filter: brightness(0.9); }
.e-s2-play-svg {
  width: 8%;
  height: auto;
}

/* ═══════════════════════════════════════════════════════════
   S3 · OPPORTUNITY DECK
   Extra top padding compensates for S2's 180px bottom overlap
   ═══════════════════════════════════════════════════════════ */
.e-s3 {
  position: relative;
  z-index: 1;
  padding: 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.e-s3::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/layout_images/wood%20background.jpg') center / cover no-repeat;
  transform: rotate(180deg);
}

/* Section nav arrows — shared */
.e-s3-nav-arrow {
  display: block;
  position: relative;
  z-index: 1;
  width: 3%;
  min-width: 32px;
  transition: filter 0.2s ease;
}
.e-s3-nav-arrow img {
  display: block;
  width: 100%;
  height: auto;
}
.e-s3-nav-arrow:hover  { filter: brightness(1.5); }
.e-s3-nav-arrow:active { filter: brightness(0.9); }

/* Top arrow (above card) */
.e-s3-nav-arrow:not(.e-s3-nav-arrow--up) {
  margin: 15% auto 2%;
}
@media (min-width: 900px) {
  .e-s3-nav-arrow:not(.e-s3-nav-arrow--up) {
    margin: 4% auto 1%;
  }
}

/* Bottom arrow (below card) */
.e-s3-nav-arrow--up {
  margin: 0% auto 16%;
}
.e-s3-nav-arrow--up img { transform: rotate(180deg); }
@media (min-width: 900px) {
  .e-s3-nav-arrow--up {
    margin: 01% auto 1%;
  }
}

/* Clickable paper card */
.e-s3-card {
  position: relative;
  z-index: 1;
  display: block;
  width: 480px;
  max-width: 88vw;
  text-decoration: none;
  cursor: pointer;
  transform: translateY(var(--py, 0px));
  will-change: transform;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.e-s3-card:hover  { filter: drop-shadow(0px 3px 4px rgba(0,0,0,0.1)) brightness(1.1); transform: translateY(var(--py, 0px)) scale(1.01); }
.e-s3-card:active { filter: drop-shadow(0px 1px 1px rgba(0,0,0,0.15)) brightness(0.9); transform: translateY(var(--py, 0px)) scale(0.99); }

.e-s3-card-paper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  
}

.e-s3-card-content {
  position: relative;
  padding: 10% 20% 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.e-s3-icon {
  width: 80px;
  height: auto;
  display: block;
  margin-bottom: 30px;
  opacity: 75%;
  mix-blend-mode: color-burn;
}

.e-s3-heading {
  font-family: var(--caps);
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 14px;
}

.e-s3-body {
  font-family: var(--serif);
  font-size: 13.5px;
  color: #4F4D49;
  line-height: 1.72;
}

/* Lightbox */
.e-s3-lb {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.78);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.e-s3-lb.open { display: flex; }

.e-s3-lb-inner {
  position: relative;
  width: 100%;
  max-width: 960px;
}

.e-s3-lb-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.75);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.2s ease;
}
.e-s3-lb-close:hover { color: #fff; }

.e-s3-lb-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: #000;
}

.e-s3-lb-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (min-width: 900px) {
  .e-s2 { margin-top: min(-180px, -10vw); margin-bottom: min(-180px, -10vw); }
  .e-s3 { padding: 180px 40px 100px; }
  .e-s3-heading { font-size: 20px; }
  .e-s3-icon    { width: 96px; }
  .e-s3-body    { font-size: 14px; }
}

/* ═══════════════════════════════════════════════════════════
   S4 · FAQ
   ═══════════════════════════════════════════════════════════ */
.e-s4 {
  position: relative;
  z-index: 5;
  margin-top: -40px;
  margin-bottom: -40px;
}
.e-s4-edge {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 -4px 2px rgba(0, 0, 0, 0.2));
}
.e-s4-edge-b {
width: 100%;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 2px rgba(0, 0, 0, 0.2));
}
.e-s4-body {
  background: var(--bone);
  padding: 0 2rem 0rem;
}
.e-s4-section-label {
  font-family: var(--caps);
  font-size: 18px;
  letter-spacing: 0.15em;
  text-transform: lowercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 48px;
}

/* FAQ container — narrower per reference */
.e-faq {
  max-width: 540px;
  margin: 0 auto;
}
.e-faq-item {
  border-bottom: 1px solid rgba(176, 155, 119, 0.35);
}
.e-faq-item:first-child {
  border-top: 1px solid rgba(176, 155, 119, 0.35);
}
.e-faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--caps);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: var(--gold);
  text-align: left;
  padding: 1rem 0;
  line-height: 1.45;
  transition: filter 0.2s ease, letter-spacing 0.2s ease;
}
.e-faq-q:hover  { filter: brightness(1.2); letter-spacing: 0.09em; }
.e-faq-q:active { filter: brightness(1.4); letter-spacing: 0.09em; }
.e-faq-q:focus-visible { outline: 1px solid rgba(176, 155, 119, 0.5); outline-offset: 2px; }

/* Open state — locks in the hover look */
.e-faq-item.open .e-faq-q        { filter: brightness(1.2); letter-spacing: 0.09em; }
.e-faq-item.open .e-faq-q:active { filter: brightness(1.5); }
@media (min-width: 900px) {
  .e-faq-item.open .e-faq-q:hover  { filter: brightness(1.4); }
}

.e-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 01.1s ease;
}
.e-faq-item.open .e-faq-a {
  max-height: 1400px;
}
.e-faq-a p {
  font-family: var(--serif);
  font-size: 13.5px;
  color: #6b5c4a;
  line-height: 1.72;
  padding: 0 0 20px;
}
.e-faq-a ul {
  font-family: var(--serif);
  font-size: 13.5px;
  color: #6b5c4a;
  line-height: 1.72;
  padding: 0 0 20px 22px;
}
.e-faq-a li {
  margin-bottom: 5px;
}

@media (min-width: 900px) {
  .e-s4-body          { padding: 0 80px 0rem; }
  .e-s4-section-label { font-size: 20px; }
  .e-faq-q            { font-size: 18px; }
  .e-faq-a p,
  .e-faq-a ul         { font-size: 15px; }
}

/* ═══════════════════════════════════════════════════════════
   S5 + FOOTER — shared wood background via .e-outro wrapper
   ═══════════════════════════════════════════════════════════ */
.e-outro {
  background: url('/images/layout_images/wood%20background.jpg') center / cover no-repeat;
}

/* ═══════════════════════════════════════════════════════════
   S5 · GET STARTED
   ═══════════════════════════════════════════════════════════ */
.e-s5 {
  padding: 40px 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.e-s5-scene {
  position: relative;
  width: 88vw;
  max-width: 400px;
  margin-top: -40px;
  z-index: 20;
  transform: translateY(var(--py, 0px));
  will-change: transform;
}

.e-s5-env {
  display: block;
  width: 100%;
  height: auto;
}

/* text floats over the card area — top/padding-top in % of scene width (nearly square) */
.e-s5-card {
  position: absolute;
  z-index: 1;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  padding-top: 19%;
  text-align: center;
}

.e-s5-text {
  font-family: var(--serif);
  font-size: 11px;
  color: var(--ink);
  line-height: 1.55;
  margin: 10;
}
.e-s5-text + .e-s5-text { margin-top: 8px; }

.e-s5-cta {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--caps);
  font-size: 0.65rem;
  letter-spacing: 0.125em;
  text-transform: lowercase;
  color: var(--connection);
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.2s ease, letter-spacing 0.2s ease;
}
.e-s5-cta:hover  { filter: brightness(1.2); letter-spacing: 0.15em; }
.e-s5-cta:active { filter: brightness(1.5); letter-spacing: 0.15em; }
.e-s5-cta:focus-visible { outline: 1px solid rgba(169, 80, 52, 0.3); }

.e-s5-favicon {
  display: block;
  width: 22px;
  height: auto;
  margin: 10px auto 0;
}

@media (min-width: 900px) {
  .e-s5         { padding: 80px 40px 30px; }
  .e-s5-scene   { width: 800px; max-width: 800px; margin-top: -130px; }
  .e-s5-card    { width: 40%; padding-top: 22%; }
  .e-s5-text    { font-size: 22px; line-height: 1.5; }
  .e-s5-cta     { font-size: 1.5rem; margin-top: 24px; }
  .e-s5-favicon { width: 60px; margin-top: 35px; }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.e-footer {
  padding: 0 80px 40px;
  text-align: center;
}
.e-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 44px;
  margin-bottom: 28px;
  list-style: none;
}
.e-footer-links a {
  font-family: var(--caps);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--on-dark-2);
  text-decoration: none;
  transition: color 0.2s ease, filter 0.2s ease;
}
.e-footer-links a:hover  { color: var(--on-dark-1); }
.e-footer-links a:active { filter: brightness(0.97); }
.e-footer-copy {
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
  color: var(--gold);
}
