/* A conversation opens a world. Existing Teta identity; native, unhurried navigation. */
html {
  scroll-padding-top: 75px;
}
.hero h1 {
  font-size: clamp(4.5rem, 7.5vw, 8rem);
  line-height: 0.96;
  max-width: 720px;
}
.hero-description {
  max-width: 430px;
}
.hero-content {
  padding-top: 170px;
}
.story-rail {
  position: fixed;
  z-index: 25;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 10px 5px;
  border-radius: 25px;
  background: #15291be6;
  color: #f3efd9;
  box-shadow: 0 2px 15px #0002;
}
.story-rail a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  text-decoration: none;
  color: inherit;
  font-size: 9px;
  position: relative;
}
.story-rail a[aria-current] {
  background: #f0bc6a;
  color: #203524;
}
.story-rail span {
  position: absolute;
  right: 39px;
  background: #172e20;
  padding: 8px 14px;
  border-radius: 20px;
  width: max-content;
  opacity: 0;
  pointer-events: none;
  font-size: 11px;
}
.story-rail a:hover span,
.story-rail a:focus-visible span {
  opacity: 1;
}
.studio-presence {
  background: radial-gradient(ellipse at center, #d4d5b555, transparent 65%);
}
.voice-orbit {
  position: absolute;
  inset: auto 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 55px;
  opacity: 0.45;
}
.voice-orbit i {
  width: 3px;
  height: 8px;
  background: #758359;
  border-radius: 5px;
  transform-origin: center;
}
.voice-orbit i:nth-child(3n) {
  height: 23px;
}
.voice-orbit i:nth-child(4n) {
  height: 36px;
}
[data-narrating='true'] .voice-orbit i {
  animation: voice-pulse 0.8s ease-in-out infinite alternate;
}
.voice-orbit i:nth-child(even) {
  animation-delay: -0.3s;
}
@keyframes voice-pulse {
  to {
    transform: scaleY(0.35);
  }
}
.world-section {
  background: #14271e;
  color: #f3efd9;
  padding: 95px 0 65px;
  position: relative;
}
.world-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px 45px;
  margin-bottom: 55px;
  align-items: start;
}
.world-heading .chapter {
  padding-top: 12px;
  color: #eaba70;
}
.world-heading h2 {
  font: 400 clamp(3.3rem, 6.3vw, 6.2rem)/1.02 var(--serif);
  letter-spacing: -0.04em;
  margin: 0;
}
.world-heading h2 em {
  color: #efbe73;
}
.world-heading p {
  grid-column: 2;
  line-height: 1.8;
  color: #d1d6c4;
}
.world-choices {
  display: flex;
  gap: 16px;
  min-height: 540px;
}
.world-card {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: 180px 180px 12px 12px;
  min-height: 540px;
  isolation: isolate;
  transition:
    flex 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-radius 0.7s;
}
.world-card.is-selected {
  flex: 1.65;
  border-radius: 28px;
}
.world-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s;
}
.world-card.is-selected > img {
  transform: scale(1.04);
}
.world-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 10%, #0a1c16dd 85%);
  z-index: -1;
}
.world-card > img {
  z-index: -2;
}
.world-card-content {
  position: relative;
  padding: 25px;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.world-card button {
  color: #fff3d9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px solid #fff5;
  padding: 18px 0;
  font: 500 0.95rem var(--sans);
  cursor: pointer;
}
.world-card button span {
  font-size: 12px;
  color: #efbe73;
}
.world-detail h3 {
  font: 400 clamp(1.8rem, 2.7vw, 2.8rem)/1.12 var(--serif);
  margin: 12px 0;
}
.world-detail p {
  font-size: 0.85rem;
  line-height: 1.8;
  color: #e0e1d3;
}
.world-detail a {
  display: inline-block;
  color: #f0bf73;
  font-size: 0.8rem;
  padding: 18px 0 6px;
}
.world-footnote {
  text-align: center;
  font: 400 1.5rem var(--serif);
  margin: 36px 0 0;
  color: #d0d7c4;
}
.table-section {
  position: relative;
}
.teaching-stage {
  margin-top: 45px;
}
.teaching-choices {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 14px;
  border: 1px solid #29362830;
  border-radius: 60px;
  width: fit-content;
  margin: 0 auto 35px;
}
.teaching-choices button {
  background: transparent;
  color: #293628;
  border: 0;
  border-radius: 30px;
  padding: 15px 24px;
  cursor: pointer;
  font: 500 0.85rem var(--sans);
}
.teaching-choices button[aria-pressed='true'] {
  background: #293628;
  color: #f3efd9;
}
.teaching-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  min-height: 470px;
}
.teaching-panel[hidden] {
  display: none;
}
.teaching-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 460px;
  justify-self: center;
}
.teaching-portrait img,
.teaching-portrait video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.teaching-portrait video {
  opacity: 0;
  transition: opacity 0.3s;
}
.teaching-portrait[data-playing='true'] video {
  opacity: 1;
}
.teaching-portrait[data-playing='true'] img {
  opacity: 0;
}
.portrait-caption {
  position: absolute;
  bottom: 3%;
  width: 100%;
  text-align: center;
  font: 400 1.2rem var(--serif);
  color: #6c7754;
}
.teaching-copy h3 {
  font: 400 clamp(2.6rem, 4.3vw, 4.5rem)/1.04 var(--serif);
  letter-spacing: -0.035em;
  margin: 25px 0;
}
.teaching-copy h3 em {
  color: #7b825c;
}
.teaching-copy > p {
  line-height: 1.9;
  max-width: 450px;
  font-size: 0.95rem;
}
.teaching-steps {
  border-block: 1px solid #29362830;
  margin-top: 28px;
  padding: 20px 0;
  color: #53623e;
  font-size: 0.85rem;
}
.teaching-copy .teaching-benefit {
  font: 400 1.4rem/1.4 var(--serif);
}
.daily-practice {
  background: #e8e8cf;
}
.daily-layout {
  border: 0;
}
.daily-dial {
  width: 145px;
  height: 145px;
  position: relative;
  margin-bottom: 28px;
}
.daily-dial svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.daily-dial circle {
  fill: none;
  stroke: #29362822;
  stroke-width: 2;
}
.daily-dial .dial-arc {
  stroke: #899263;
  stroke-width: 4;
  stroke-dasharray: 450 566;
}
.daily-dial > span {
  position: absolute;
  inset: 18px 0;
  text-align: center;
  font: 400 4.1rem var(--serif);
}
.daily-dial small {
  display: block;
  font: 500 7px var(--sans);
  letter-spacing: 0.12em;
}
.evening {
  background-image:
    linear-gradient(90deg, #10241acc, #10241a44),
    url('/assets/cairo-cafe-custom.webp');
  background-size: cover;
  background-position: center;
}
.evening-art {
  display: none;
}
.evening-copy {
  padding-top: 180px;
  padding-bottom: 100px;
}
.evening-copy h2 {
  max-width: 800px;
}
:where(
  .world-card button,
  .teaching-choices button,
  .story-rail a
):focus-visible {
  outline: 3px solid #dca446;
  outline-offset: 5px;
}
@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(3.7rem, 15.5vw, 6.5rem);
  }
  .hero-content {
    padding-top: 120px;
  }
  .hero-listening {
    margin-top: 290px;
  }
  .story-rail {
    top: 12px;
    right: 14px;
    transform: none;
    flex-direction: row;
    gap: 2px;
    padding: 4px;
  }
  .story-rail a {
    width: 24px;
    height: 24px;
    font-size: 8px;
  }
  .story-rail span {
    display: none;
  }
  .site-header .header-cta {
    visibility: hidden;
  }
  .world-section {
    padding: 65px 0 45px;
  }
  .world-heading {
    display: block;
    margin-bottom: 35px;
  }
  .world-heading h2 {
    font-size: clamp(3rem, 12.5vw, 4.5rem);
    margin: 25px 0;
  }
  .world-choices {
    flex-direction: column;
    gap: 18px;
  }
  .world-card,
  .world-card.is-selected {
    border-radius: 18px;
    min-height: 390px;
  }
  .world-card-content {
    min-height: 390px;
    padding: 25px;
  }
  .world-card > img {
    object-position: center;
  }
  .world-detail h3 {
    font-size: 2.15rem;
    max-width: 280px;
  }
  .world-detail p {
    max-width: 310px;
  }
  .world-footnote {
    font-size: 1.3rem;
  }
  .teaching-choices {
    gap: 5px;
    border-radius: 18px;
    flex-wrap: wrap;
    padding: 7px;
  }
  .teaching-choices button {
    padding: 13px 14px;
    font-size: 0.75rem;
  }
  .teaching-panel {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .teaching-portrait {
    width: 260px;
    max-width: 100%;
  }
  .teaching-copy h3 {
    font-size: clamp(2.5rem, 11vw, 3.6rem);
  }
  .teaching-copy > p {
    font-size: 0.9rem;
  }
  .daily-practice {
    padding-top: 20px;
  }
  .daily-layout {
    padding-top: 25px;
  }
  .evening {
    min-height: 620px;
    background-position: 60% center;
  }
  .evening-copy {
    padding-top: 200px;
    padding-bottom: 70px;
  }
  .evening-copy h2 {
    font-size: clamp(3.5rem, 14vw, 5rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .world-card,
  .world-card img,
  .teaching-portrait video {
    transition: none;
  }
  .voice-orbit i {
    animation: none !important;
  }
}
[data-motion='paused'] .world-card,
[data-motion='paused'] .world-card img,
[data-motion='paused'] .teaching-portrait video {
  transition: none;
}

.world-detail [hidden] {
  display: none;
}
.portrait-caption {
  bottom: -12px;
}
@media (max-width: 760px) {
  .story-enhanced .world-card:not(.is-selected),
  .story-enhanced .world-card:not(.is-selected) .world-card-content {
    min-height: 200px;
  }
  .teaching-portrait img,
  .teaching-portrait video {
    transform: scale(1.16);
  }
  .teaching-copy {
    padding-top: 15px;
  }
}

/* Single teaching moment and a compact daily invitation. */
.daily-layout {
  display: block;
  text-align: center;
}
.daily-intro > p {
  margin-inline: auto;
}
.daily-dial {
  margin-inline: auto;
}
.world-heading {
  display: block;
}
.world-heading p {
  max-width: 560px;
}
.values-heading {
  display: block;
}
.values-heading > h2 {
  max-width: 1000px;
}
.gentle-moment {
  margin-top: 25px;
}
.studio-topline {
  justify-content: flex-end;
}
/* Keep the hero close to its source scale rather than magnifying fine linework. */
@media (min-width: 761px) {
  .hero-art { transform: translate3d(var(--scene-x, 0px), var(--scene-y, 0px), 0) scale(1.025); }
}
