:root {
  --ink: #211719;
  --muted: #776b63;
  --paper: #efe5d1;
  --paper-deep: #dfcfb1;
  --burgundy: #641c23;
  --burgundy-dark: #311015;
  --history: #182f43;
  --gold: #a9823f;
  --line: rgba(91, 55, 33, .24);
  --header-h: 74px;
  --footer-h: 58px;
  --shadow: 0 24px 70px rgba(9, 6, 5, .28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #120c0d;
  font-family: Georgia, 'Times New Roman', serif;
  overflow: hidden;
}
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid #f2d494; outline-offset: 3px; }
.skip-link { position: fixed; z-index: 1000; top: -60px; left: 1rem; padding: .7rem 1rem; background: #fff; color: #111; }
.skip-link:focus { top: 1rem; }
.site-header {
  position: fixed; z-index: 50; inset: 0 0 auto 0; height: var(--header-h);
  display: grid; grid-template-columns: minmax(250px, 1fr) auto auto 52px; align-items: center; gap: 18px;
  padding: 0 24px;
  background: rgba(24, 15, 16, .91); color: #f7ecd5;
  border-bottom: 1px solid rgba(220, 187, 125, .24); backdrop-filter: blur(18px);
}
.brand { border: 0; background: none; color: inherit; display: flex; align-items: center; gap: 12px; cursor: pointer; min-width: 0; text-align: left; }
.brand__mark { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(218, 182, 111, .48); color: #dfbd7a; font-weight: 700; letter-spacing: -.08em; }
.brand__text { display: grid; min-width: 0; }
.brand__text b { letter-spacing: .12em; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__text small { color: #ae9b83; font-size: .62rem; letter-spacing: .18em; margin-top: 2px; }
.core-switch, .mode-switch { display: flex; border: 1px solid rgba(213, 185, 130, .28); border-radius: 999px; padding: 3px; }
.core-switch button, .mode-switch button { border: 0; border-radius: 999px; padding: .48rem .8rem; color: #cbbda8; background: transparent; cursor: pointer; font-size: .75rem; letter-spacing: .08em; transition: .2s ease; }
.core-switch button:hover, .mode-switch button:hover { color: #fff; }
.core-switch button.is-active, .mode-switch button.is-active { background: #f0e4cf; color: #3e161a; }
.index-button { border: 0; background: transparent; width: 42px; height: 42px; display: grid; place-content: center; gap: 5px; cursor: pointer; }
.index-button span { display: block; width: 23px; height: 1px; background: #dac5a4; }
.scene-shell { position: fixed; inset: var(--header-h) 0 var(--footer-h); overflow: hidden; background: #1c1112; }
.scene-card { height: 100%; display: grid; grid-template-columns: minmax(390px, 43%) 1fr; opacity: 1; transform: translateY(0); transition: opacity .28s ease, transform .28s ease; }
.scene-card.is-changing { opacity: 0; transform: translateY(8px); }
.scene-copy {
  position: relative; z-index: 2;
  background:
    linear-gradient(90deg, rgba(255,255,255,.08), transparent 30%),
    repeating-linear-gradient(0deg, rgba(74,47,32,.018), rgba(74,47,32,.018) 1px, transparent 1px, transparent 4px),
    var(--paper);
  border-right: 1px solid rgba(48, 24, 20, .35);
  overflow: auto;
}
.scene-copy::before, .scene-copy::after { content: ''; position: fixed; left: 0; width: 43%; height: 10px; z-index: 3; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(135,96,44,.55) 0 2px, transparent 2px 8px); opacity: .32; }
.scene-copy::before { top: var(--header-h); }
.scene-copy::after { bottom: var(--footer-h); }
.scene-copy__inner { min-height: 100%; display: flex; flex-direction: column; justify-content: center; padding: clamp(42px, 6vh, 86px) clamp(34px, 5vw, 88px); }
.scene-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: clamp(22px, 4vh, 48px); }
.core-label { font-size: .74rem; letter-spacing: .17em; text-transform: uppercase; color: var(--burgundy); }
.core-label.history { color: var(--history); }
.scene-number { color: var(--gold); font-size: .82rem; letter-spacing: .14em; }
#sceneTitle { margin: 0; max-width: 760px; color: var(--burgundy); font-weight: 500; font-size: clamp(2.25rem, 4.2vw, 5.1rem); line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
#sceneTitle.history { color: var(--history); }
.ornament { display: flex; align-items: center; gap: 10px; color: var(--gold); width: 160px; margin: 26px 0 30px; }
.ornament span { height: 1px; flex: 1; background: currentColor; opacity: .55; }
.ornament i { font-style: normal; font-size: .7rem; }
.scene-text { max-width: 720px; font-size: clamp(1.05rem, 1.55vw, 1.5rem); line-height: 1.72; color: #332b28; }
.scene-text p { margin: 0 0 1.1em; }
.scene-text.script { font-size: clamp(.98rem, 1.28vw, 1.26rem); line-height: 1.66; white-space: normal; }
.script-line { margin: 0 0 .9em; }
.script-role { color: var(--burgundy); font-weight: 700; letter-spacing: .06em; }
.script-direction { color: #6c5b52; font-style: italic; }
.scene-copy__footer { margin-top: auto; padding-top: 38px; display: flex; justify-content: space-between; gap: 20px; color: #8b7763; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.scene-image-wrap { margin: 0; position: relative; overflow: hidden; background: #090708; }
.scene-image { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; transform: scale(1.015); transition: transform 7s ease, opacity .28s ease; }
.scene-card:not(.is-changing) .scene-image { transform: scale(1.065); }
.scene-image__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,8,9,.28), transparent 24%, transparent 75%, rgba(5,3,3,.16)); pointer-events: none; }
figcaption { position: absolute; right: 22px; bottom: 18px; max-width: min(470px, 80%); padding: .5rem .7rem; background: rgba(13,9,9,.48); color: rgba(255,245,225,.84); font-size: .68rem; line-height: 1.35; letter-spacing: .04em; backdrop-filter: blur(10px); }
.scene-nav { position: fixed; z-index: 45; inset: auto 0 0; height: var(--footer-h); display: grid; grid-template-columns: 160px 1fr 160px; align-items: center; background: rgba(24,15,16,.96); border-top: 1px solid rgba(220,187,125,.2); color: #d7c6aa; }
.scene-nav__button { border: 0; background: transparent; color: inherit; height: 100%; cursor: pointer; letter-spacing: .08em; font-size: .75rem; }
.scene-nav__button:hover { color: #fff; background: rgba(255,255,255,.03); }
.scene-nav__button:disabled { opacity: .3; cursor: default; }
.scene-dots { display: flex; justify-content: center; align-items: center; gap: 5px; overflow: hidden; padding: 0 20px; }
.scene-dot { border: 0; padding: 0; width: 6px; height: 6px; border-radius: 50%; background: #5b4c44; cursor: pointer; transition: .2s ease; }
.scene-dot.is-active { width: 24px; border-radius: 999px; background: #d2ab65; }
.scene-dot.is-hidden { display: none; }
.intro { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; color: #f8ebd1; background: #10090a url('assets/cover.webp') center/cover no-repeat; transition: opacity .5s ease, visibility .5s ease; }
.intro.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.intro__veil { position: absolute; inset: 0; background: radial-gradient(circle at 65% 38%, rgba(112,16,22,.12), transparent 34%), linear-gradient(90deg, rgba(12,7,8,.97) 0 40%, rgba(12,7,8,.78) 64%, rgba(12,7,8,.62)); }
.intro__content { position: relative; width: min(920px, 92vw); text-align: center; padding: 38px; }
.eyebrow { margin: 0 0 14px; color: #c6ab7d; font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; }
.intro h1 { margin: 0; font-weight: 400; font-size: clamp(3.5rem, 9vw, 8rem); letter-spacing: .025em; line-height: .9; text-shadow: 0 8px 40px #000; }
.intro h1 span { color: #a97e3e; font-size: .65em; }
.intro__subtitle { margin: 18px 0 26px; color: #d8c09a; letter-spacing: .35em; font-size: .78rem; }
.intro__lead { max-width: 720px; margin: 0 auto 32px; font-size: clamp(1rem, 2vw, 1.35rem); line-height: 1.55; color: #e2d4bc; }
.intro__choices { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; max-width: 760px; margin: 0 auto; }
.core-card { min-height: 150px; border: 1px solid rgba(224,185,110,.4); color: #f7ead1; background: rgba(70,18,23,.5); padding: 22px; cursor: pointer; display: grid; place-items: center; gap: 4px; backdrop-filter: blur(12px); transition: .25s ease; }
.core-card--history { background: rgba(22,43,60,.55); }
.core-card:hover { transform: translateY(-4px); border-color: #e2bc73; background: rgba(100,28,35,.7); }
.core-card--history:hover { background: rgba(27,58,78,.78); }
.core-card__number { color: #d6b16a; font-size: 1.5rem; }
.core-card strong { font-size: 1.35rem; font-weight: 500; }
.core-card small { color: #cbbba5; }
.intro__all { margin-top: 18px; border: 0; background: transparent; color: #e4c990; border-bottom: 1px solid currentColor; padding: .4rem; cursor: pointer; }
.content-note { margin: 24px auto 0; color: #aa9a87; font-size: .75rem; }
.scene-index { position: fixed; z-index: 80; top: 0; right: 0; bottom: 0; width: min(560px, 92vw); background: #eee2cb; color: #2c1f20; box-shadow: -20px 0 70px rgba(0,0,0,.4); transform: translateX(105%); transition: transform .35s ease; overflow: auto; }
.scene-index.is-open { transform: translateX(0); }
.scene-index__header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 28px 30px 18px; background: rgba(238,226,203,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.scene-index__header h2 { margin: 0; font-size: 2rem; font-weight: 500; color: var(--burgundy); }
.scene-index__header button { width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 1.8rem; cursor: pointer; }
.scene-index__legend { display: flex; flex-wrap: wrap; gap: 12px 22px; padding: 18px 30px; color: #6d5d52; font-size: .75rem; border-bottom: 1px solid var(--line); }
.legend-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--burgundy); }
.legend-dot--history { background: var(--history); }
.scene-index__list { padding: 10px 18px 40px; }
.index-item { width: 100%; display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; text-align: left; padding: 15px 12px; border: 0; border-bottom: 1px solid var(--line); background: transparent; cursor: pointer; color: inherit; }
.index-item:hover, .index-item.is-current { background: rgba(100,28,35,.07); }
.index-item__number { color: var(--gold); font-size: .8rem; letter-spacing: .1em; }
.index-item__title { font-size: 1rem; }
.index-item__core { width: 7px; height: 7px; border-radius: 50%; background: var(--burgundy); }
.index-item__core.history { background: var(--history); }
.backdrop { position: fixed; z-index: 70; inset: 0; background: rgba(0,0,0,.52); backdrop-filter: blur(3px); }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 80px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: .65rem .9rem; background: #171011; color: #f5e8ce; border: 1px solid rgba(218,180,105,.3); font-size: .75rem; transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto 52px; }
  .core-switch { display: none; }
  .scene-card { grid-template-columns: minmax(350px, 46%) 1fr; }
  .scene-copy::before, .scene-copy::after { width: 46%; }
}
@media (max-width: 760px) {
  :root { --header-h: 62px; --footer-h: 54px; }
  body { overflow: hidden; }
  .site-header { grid-template-columns: 1fr auto 42px; gap: 7px; padding: 0 10px; }
  .brand__text { display: none; }
  .brand__mark { width: 36px; height: 36px; }
  .mode-switch button { padding: .4rem .53rem; font-size: .66rem; }
  .scene-shell { overflow: auto; }
  .scene-card { min-height: 100%; height: auto; display: flex; flex-direction: column-reverse; }
  .scene-copy { overflow: visible; min-height: 53vh; }
  .scene-copy::before, .scene-copy::after { display: none; }
  .scene-copy__inner { min-height: 53vh; padding: 36px 25px 52px; justify-content: flex-start; }
  .scene-meta { margin-bottom: 22px; }
  #sceneTitle { font-size: clamp(2.2rem, 11vw, 3.8rem); }
  .scene-text { font-size: 1.05rem; line-height: 1.65; }
  .scene-image-wrap { height: 44vh; min-height: 320px; }
  figcaption { display: none; }
  .scene-nav { grid-template-columns: 90px 1fr 90px; }
  .scene-nav__button span { display: none; }
  .scene-dots { gap: 4px; padding: 0 8px; }
  .scene-dot { width: 5px; height: 5px; }
  .intro__content { padding: 24px 16px; }
  .intro__choices { grid-template-columns: 1fr; }
  .core-card { min-height: 112px; }
  .content-note { font-size: .68rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Full-play reader and unobstructed image revision */
.site-header {
  transition: transform .32s ease, opacity .25s ease;
  will-change: transform;
}
.site-header.is-hidden {
  transform: translateY(calc(-100% - 2px));
  opacity: 0;
  pointer-events: none;
}
.header-reveal {
  position: fixed;
  z-index: 49;
  top: 0;
  left: 50%;
  width: 54px;
  height: 18px;
  padding: 0;
  border: 1px solid rgba(220,187,125,.34);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  color: #d9c39d;
  background: rgba(24,15,16,.72);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transform: translate(-50%, -110%);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}
.header-reveal.is-visible {
  transform: translate(-50%, 0);
  opacity: .72;
}
.header-reveal:hover { opacity: 1; }

.mode-switch {
  max-width: min(46vw, 510px);
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}
.mode-switch::-webkit-scrollbar { display: none; }
.mode-switch button { flex: 0 0 auto; }

.scene-shell { inset: 0 0 var(--footer-h); }
.scene-copy::before, .scene-copy::after {
  position: absolute;
  width: 100%;
}
.scene-copy::before { top: 0; }
.scene-copy::after { bottom: 0; }
.scene-copy__inner {
  padding-top: calc(var(--header-h) + clamp(28px, 4vh, 54px));
  transition: padding-top .32s ease;
}
.site-header.is-hidden ~ .scene-shell .scene-copy__inner {
  padding-top: clamp(38px, 6vh, 80px);
}

.scene-image-wrap {
  display: grid;
  place-items: center;
}
.scene-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
  transition: opacity .28s ease;
}
.scene-card:not(.is-changing) .scene-image { transform: none; }
.scene-image__shade { background: linear-gradient(90deg, rgba(17,8,9,.18), transparent 18%, transparent 82%, rgba(5,3,3,.08)); }

.scene-card.is-full-play { grid-template-columns: minmax(520px, 52%) 1fr; }
.scene-card.is-full-play .scene-copy__inner {
  justify-content: flex-start;
  padding-left: clamp(34px, 4.2vw, 76px);
  padding-right: clamp(30px, 4vw, 68px);
}
.scene-card.is-full-play #sceneTitle {
  font-size: clamp(2.2rem, 3.5vw, 4.2rem);
}
.full-play-text {
  width: 100%;
  max-width: none;
  font-size: clamp(.98rem, 1.15vw, 1.18rem);
  line-height: 1.68;
}
.play-reader__intro {
  margin: 0 0 28px;
  padding: 20px 22px;
  border: 1px solid rgba(100,28,35,.2);
  background: rgba(255,255,255,.24);
}
.play-reader__intro strong {
  display: block;
  color: var(--burgundy);
  font-size: .82rem;
  letter-spacing: .16em;
}
.play-reader__intro span {
  display: block;
  margin-top: 6px;
  color: var(--gold);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.play-reader__intro p {
  margin: 12px 0 0;
  color: #61544d;
  font-size: .9em;
  line-height: 1.55;
}
.play-pages-nav {
  position: sticky;
  z-index: 4;
  top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 34px;
  padding: 10px;
  background: rgba(239,229,209,.94);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.play-pages-nav button {
  width: 31px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(100,28,35,.2);
  background: transparent;
  color: #6d584e;
  font-size: .66rem;
  cursor: pointer;
}
.play-pages-nav button:hover,
.play-pages-nav button:focus-visible {
  color: #fff;
  background: var(--burgundy);
}
.play-page {
  padding: 6px 0 46px;
  margin: 0 0 36px;
  border-bottom: 1px solid rgba(91,55,33,.24);
  scroll-margin-top: 54px;
}
.play-page__label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: .74rem;
  letter-spacing: .12em;
}
.play-page__label span {
  color: #806e61;
  font-size: .62rem;
}
.full-play-text .script-line { margin-bottom: .82em; }
.full-play-text .script-role { color: var(--burgundy); }
.scene-card.is-full-play .scene-copy__footer { padding-top: 8px; }

@media (max-width: 1250px) {
  .scene-card.is-full-play { grid-template-columns: minmax(470px, 56%) 1fr; }
  .brand__text small { display: none; }
}

@media (max-width: 900px) {
  .mode-switch { max-width: 64vw; }
  .mode-switch button { padding: .43rem .58rem; font-size: .66rem; }
}

@media (max-width: 760px) {
  .scene-shell { inset: 0 0 var(--footer-h); }
  .scene-card.is-full-play { display: flex; }
  .scene-copy__inner,
  .site-header.is-hidden ~ .scene-shell .scene-copy__inner {
    padding-top: calc(var(--header-h) + 24px);
  }
  .site-header.is-hidden ~ .scene-shell .scene-copy__inner { padding-top: 34px; }
  .mode-switch { max-width: calc(100vw - 100px); }
  .mode-switch button { padding: .38rem .47rem; font-size: .59rem; letter-spacing: .035em; }
  .scene-image-wrap { height: 46vh; min-height: 280px; }
  .play-pages-nav { position: static; }
  .play-pages-nav button { width: 29px; height: 27px; }
  .full-play-text { font-size: 1rem; }
}


/* Scroll-synchronised illustrations, creator credits, and Cypriot theatrical edition */
.work-credits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 18px;
  margin: -10px auto 24px;
  color: #cdbb9f;
  font-size: .72rem;
  letter-spacing: .08em;
}
.work-credits strong { color: #f0dcae; font-weight: 500; }
.scene-byline {
  margin: 13px 0 -8px;
  color: #8d765e;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.scene-byline strong { color: var(--burgundy); font-weight: 600; }
.scene-byline span { color: #a18b73; }
.mode-switch { max-width: min(55vw, 650px); }
.scene-image.is-swapping { opacity: .12; }
.scene-image-wrap::after {
  content: 'Εικόνες / Images · ChatGPT';
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  padding: .42rem .62rem;
  color: rgba(255,245,225,.78);
  background: rgba(13,9,9,.46);
  border: 1px solid rgba(255,255,255,.08);
  font-size: .62rem;
  letter-spacing: .08em;
  backdrop-filter: blur(9px);
}
.play-pages-nav button.is-current {
  color: #fff;
  background: var(--burgundy);
  border-color: var(--burgundy);
}
.play-page.is-current-page {
  border-bottom-color: rgba(100,28,35,.48);
}
.play-page.is-current-page .play-page__label { color: var(--burgundy); }
.cypriot-note {
  margin-top: 12px;
  color: #745f53;
  font-size: .82em;
  font-style: italic;
}
@media (max-width: 760px) {
  .work-credits { gap: 5px 12px; font-size: .64rem; }
  .scene-byline { font-size: .64rem; }
  .scene-image-wrap::after { display: none; }
  .mode-switch { max-width: calc(100vw - 96px); }
}

@media (max-width: 760px) {
  .scene-card.is-full-play { flex-direction: column; }
  .scene-card.is-full-play .scene-image-wrap {
    position: sticky;
    top: 0;
    z-index: 6;
    height: 38vh;
    min-height: 240px;
    flex: 0 0 auto;
    box-shadow: 0 12px 30px rgba(0,0,0,.28);
  }
  .scene-card.is-full-play .scene-copy { min-height: auto; }
  .scene-card.is-full-play .scene-copy__inner { padding-top: 34px; }
}
