/* ==========================================================================
   Αστερόπλοιο — base.css
   Tokens (design-system.json) · fonts · reset · typography · buttons ·
   header · footer · shared components (cards, badges, dividers, game).
   ========================================================================== */

/* ---------- Fonts (self-hosted, Greek + Latin subsets, variable wght) ---------- */
@font-face { font-family: "Comfortaa"; src: url("../fonts/comfortaa-greek.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Comfortaa"; src: url("../fonts/comfortaa-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Commissioner"; src: url("../fonts/commissioner-greek.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Commissioner"; src: url("../fonts/commissioner-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  --c-white: #FFFFFF;
  --c-ink: #2A3439;
  --c-ink-soft: #4A565C;
  --c-yellow: #F5B813;
  --c-yellow-hover: #E5A800;
  --c-yellow-soft: #FFD54F;
  --c-cream: #FFF7E0;
  --c-cream-deep: #FFEDB8;
  --c-grey: #F3F3F1;
  --c-line: rgba(42, 52, 57, .16);
  --c-danger: #9B2C1F;
  --c-danger-bg: #FBE9E6;
  --c-success: #1F6B45;
  --c-success-bg: #E5F4EC;

  --f-head: "Comfortaa", "Trebuchet MS", system-ui, sans-serif;
  --f-body: "Commissioner", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-display: clamp(2.25rem, 1.35rem + 3.6vw, 4rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
  --fs-h3: clamp(1.2rem, 1.1rem + .5vw, 1.45rem);
  --fs-lead: clamp(1.125rem, 1.05rem + .4vw, 1.375rem);
  --fs-body: clamp(1.0625rem, 1rem + .25vw, 1.125rem);
  --fs-small: .9375rem;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --section: clamp(64px, 9vw, 128px);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-pill: 999px;
  --border: 2px solid var(--c-ink);

  --shadow-paper: 0 18px 40px -22px rgba(42, 52, 57, .35);
  --shadow-solid: 6px 6px 0 0 var(--c-yellow);
  --shadow-btn: 0 4px 0 0 var(--c-ink);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 160ms;
  --t-base: 240ms;

  --header-h: 72px;
  --z-decor: 1; --z-content: 2; --z-stars: 5; --z-journey: 40; --z-header: 50; --z-menu: 60; --z-toast: 80;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--c-yellow); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-head); font-weight: 700; line-height: 1.18; letter-spacing: -.01em; text-wrap: balance; }
p { text-wrap: pretty; }
address { font-style: normal; }
:where(ul, ol)[class] { list-style: none; padding: 0; }
[hidden] { display: none !important; }

/* ---------- Focus (3px ink ring with yellow halo — visible on every background) ---------- */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--c-ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--c-yellow-soft);
  border-radius: 6px;
}
.site-footer :focus-visible { outline-color: var(--c-yellow-soft); box-shadow: 0 0 0 3px var(--c-ink); }

/* ---------- Utilities ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.visually-hidden, .screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--c-yellow); color: var(--c-ink); font-weight: 700;
  padding: 12px 20px; border-radius: var(--radius-pill); border: var(--border); text-decoration: none;
}
.skip-link:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.eyebrow {
  font-family: var(--f-body); font-size: .875rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-ink-soft);
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--c-yellow); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.lead { font-size: var(--fs-lead); line-height: 1.55; }
.section { padding-block: var(--section); position: relative; }
.section--cream { background: var(--c-cream); }
.section--grey { background: var(--c-grey); }

/* ---------- Section title with painted underline ---------- */
.section-title { font-size: var(--fs-h2); position: relative; display: inline-block; padding-bottom: .28em; }
.section-title__text { position: relative; z-index: 1; }
.section-title .brush {
  position: absolute; left: -.1em; right: -.1em; bottom: 0; width: calc(100% + .2em); height: .42em;
  fill: none; stroke: var(--c-yellow-soft); stroke-width: 9; stroke-linecap: round; overflow: visible;
}
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4) var(--s-6); margin-bottom: var(--s-7); }
.section-head__intro { max-width: 56ch; color: var(--c-ink-soft); margin-top: var(--s-3); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--c-yellow);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 12px 26px;
  background: var(--btn-bg); color: var(--c-ink);
  border: var(--border); border-radius: var(--radius-pill);
  box-shadow: var(--shadow-btn);
  font-family: var(--f-body); font-weight: 700; font-size: 1.0625rem; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color var(--t-fast) ease, box-shadow var(--t-fast) ease, transform var(--t-fast) var(--ease-out);
  touch-action: manipulation;
}
.btn:hover { --btn-bg: var(--c-yellow-hover); box-shadow: 0 6px 0 0 var(--c-ink); }
.btn:active { box-shadow: 0 1px 0 0 var(--c-ink); }
.motion-ok .btn:hover { transform: translateY(-2px); }
.motion-ok .btn:active { transform: translateY(3px); }
.btn:focus-visible { border-radius: var(--radius-pill); }
.btn--ghost { --btn-bg: var(--c-white); }
.btn--ghost:hover { --btn-bg: var(--c-cream); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: 1rem; box-shadow: 0 3px 0 0 var(--c-ink); }
.btn[disabled], .btn[aria-disabled="true"] { --btn-bg: var(--c-grey); color: var(--c-ink-soft); box-shadow: none; cursor: not-allowed; transform: none; border-style: dashed; }
.btn .icon { width: 1.15em; height: 1.15em; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em; min-height: 44px;
  font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent;
}
.link-arrow span { border-bottom: 2px solid var(--c-yellow); }
.link-arrow .icon { transition: transform var(--t-base) var(--ease-out); }
.motion-ok .link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Chips & badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .4em;
  padding: 4px 12px; border-radius: var(--radius-pill);
  background: var(--c-cream); border: 1.5px solid var(--c-line);
  font-size: var(--fs-small); font-weight: 600; line-height: 1.4;
}
.chip .icon { width: 1em; height: 1em; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.badge {
  display: inline-flex; align-items: center; gap: .35em;
  padding: 3px 10px; border-radius: var(--radius-pill);
  font-size: .875rem; font-weight: 700; line-height: 1.4; white-space: nowrap;
}
.badge .icon { width: 1em; height: 1em; }
.eyebrow .badge { text-transform: none; letter-spacing: 0; }
.badge--full { background: var(--c-ink); color: var(--c-white); }
.badge--cancelled { background: var(--c-danger-bg); color: var(--c-danger); border: 1.5px solid currentColor; }
.badge--preview { background: var(--c-white); color: var(--c-ink); border: 1.5px dashed var(--c-ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base) ease, box-shadow var(--t-base) ease;
}
.site-header.is-stuck { border-bottom-color: var(--c-line); box-shadow: 0 10px 30px -24px rgba(42, 52, 57, .5); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header__bar { display: flex; align-items: center; gap: var(--s-3); min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; text-decoration: none; margin-right: auto; padding: 4px 0; min-height: 44px; border-radius: 8px; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.brand__ship { transform-origin: 60% 55%; }
.brand img { flex: none; }
@media (max-width: 420px) {
  .site-header__bar { gap: 8px; }
  .brand img { height: 30px; }
  .header-quick .btn { padding-inline: 12px; font-size: .875rem; }
}
@media (max-width: 380px) {
  .site-header__bar { gap: 6px; }
  .brand img { height: 27px; }
  .header-quick { gap: 4px; }
  .header-quick .btn { padding-inline: 10px; }
}
.motion-ok .brand:hover .brand__ship, .motion-ok .brand:focus-visible .brand__ship { animation: ship-rock 1.4s var(--ease-out) 1; }
@keyframes ship-rock {
  0% { transform: rotate(0); } 25% { transform: rotate(-6deg) translateY(-1px); }
  55% { transform: rotate(4deg); } 80% { transform: rotate(-2deg); } 100% { transform: rotate(0); }
}

.header-quick { display: flex; align-items: center; gap: 6px; }
.header-quick .btn { padding-inline: 14px; font-size: .9375rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 50%; border: var(--border); background: var(--c-white); color: var(--c-ink);
  text-decoration: none; padding: 0;
}
.icon-btn:hover { background: var(--c-cream); }
.icon-btn .icon { width: 20px; height: 20px; }

.primary-nav .menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.primary-nav .menu a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px;
  font-weight: 600; text-decoration: none; border-radius: var(--radius-pill); position: relative;
}
.primary-nav .menu a:not(.btn)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 3px; border-radius: 3px;
  background: var(--c-yellow); transform: scaleX(0); transform-origin: left; transition: transform var(--t-base) var(--ease-out);
}
.primary-nav .menu a:not(.btn):hover::after, .primary-nav .menu a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav .menu .is-cta { margin-left: 8px; }

.menu-toggle { display: none; }

@media (max-width: 1099px) {
  .menu-toggle { display: inline-grid; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: var(--z-menu);
    background: var(--c-white); border-top: 1px solid var(--c-line);
    box-shadow: 0 30px 40px -30px rgba(42, 52, 57, .45);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: var(--s-4) var(--gutter) var(--s-6);
  }
  .js .primary-nav:not(.is-open) { display: none; }
  .admin-bar .primary-nav { top: calc(var(--header-h) + 46px); }
  .primary-nav .menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav .menu a:not(.btn) { font-family: var(--f-head); font-size: 1.25rem; padding: 12px 8px; border-radius: var(--radius-sm); }
  .primary-nav .menu a:not(.btn)::after { left: 8px; right: auto; width: 40px; bottom: 6px; }
  .primary-nav .menu .is-cta { margin: var(--s-4) 0 0; }
  .primary-nav .menu .is-cta .btn { width: 100%; }
  /* Without JS the nav is simply shown under the bar. */
  html:not(.js) .primary-nav { position: static; box-shadow: none; max-height: none; }
}
@media (min-width: 1100px) { .header-quick { display: none; } }
@media (max-width: 359px) { .header-quick .btn { display: none; } }

/* ---------- Cloud divider ---------- */
.cloud-divider { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(36px, 6vw, 90px); overflow: hidden; pointer-events: none; z-index: var(--z-decor); }
.cloud-divider svg { width: 106%; max-width: none; height: 100%; margin-left: -3%; }
.cloud-divider--white path { fill: var(--c-white); }
.cloud-divider--cream path { fill: var(--c-cream); }
.cloud-divider--grey path { fill: var(--c-grey); }
.cloud-divider--ink path { fill: var(--c-ink); }
.cloud-divider--top { top: -1px; bottom: auto; transform: scaleY(-1); }

/* ---------- Cards: workshop (book page) ---------- */
.ws-grid { display: grid; gap: var(--s-6) var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.ws-card { position: relative; perspective: 900px; }
.ws-card__link {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--c-white); border: var(--border); border-radius: var(--radius) var(--radius) var(--radius) 6px;
  box-shadow: var(--shadow-solid); text-decoration: none; overflow: hidden;
  transform-origin: left center;
  transition: transform 420ms var(--ease-out), box-shadow var(--t-base) ease;
}
/* page edges on the right side, like a closed book */
.ws-card::before {
  content: ""; position: absolute; top: 10px; bottom: 10px; right: -7px; width: 7px; z-index: -1;
  border: 2px solid var(--c-ink); border-left: 0; border-radius: 0 6px 6px 0; background: var(--c-white);
}
.ws-card__art { position: relative; aspect-ratio: 4 / 3; background: var(--c-cream); border-bottom: var(--border); display: grid; place-items: center; overflow: hidden; }
.ws-card__art .visual__ill { width: 78%; height: auto; }
.ws-card__art .visual__photo { width: 100%; height: 100%; object-fit: cover; }
.ws-card__curl {
  position: absolute; right: 0; bottom: 0; width: 46px; height: 46px; z-index: 2;
  background: linear-gradient(135deg, transparent 50%, var(--c-yellow-soft) 50%, var(--c-cream-deep));
  border-top-left-radius: 10px; box-shadow: -3px -3px 6px -3px rgba(42, 52, 57, .35);
  transform: scale(0); transform-origin: 100% 100%; transition: transform 360ms var(--ease-out);
}
.ws-card__body { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-5) var(--s-5) var(--s-5); flex: 1; }
.ws-card__title { font-size: var(--fs-h3); }
.ws-card__sub { font-style: italic; color: var(--c-ink-soft); margin-top: -4px; }
.ws-card__text { color: var(--c-ink-soft); font-size: 1rem; }
.ws-card__more { margin-top: auto; padding-top: var(--s-3); display: inline-flex; align-items: center; gap: .45em; font-weight: 700; }
.ws-card__more span { border-bottom: 2px solid var(--c-yellow); }
.ws-card__sparkles { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.ws-card__sparkles svg { position: absolute; width: 22px; height: 22px; color: var(--c-yellow); opacity: 0; transform: scale(.3); transition: opacity 300ms ease, transform 420ms var(--ease-out); }
.ws-card__sparkles svg:nth-child(1) { top: -10px; right: 18%; }
.ws-card__sparkles svg:nth-child(2) { top: 26%; right: -12px; width: 16px; height: 16px; transition-delay: 60ms; }
.ws-card__sparkles svg:nth-child(3) { top: 8%; left: -10px; width: 14px; height: 14px; color: var(--c-yellow-soft); transition-delay: 120ms; }
.ws-card__link:hover, .ws-card__link:focus-visible { box-shadow: 9px 9px 0 0 var(--c-yellow); }
.ws-card__link:focus-visible { outline-offset: 4px; border-radius: var(--radius) var(--radius) var(--radius) 6px; }
.ws-card:has(.ws-card__link:hover) .ws-card__sparkles svg,
.ws-card:has(.ws-card__link:focus-visible) .ws-card__sparkles svg { opacity: 1; transform: scale(1); }
.motion-ok .ws-card__link:hover, .motion-ok .ws-card__link:focus-visible { transform: rotateY(-6deg) rotateX(2deg) translateY(-4px); }
.ws-card__link:hover .ws-card__curl, .ws-card__link:focus-visible .ws-card__curl { transform: scale(1); }
.ws-card .badge--preview { position: absolute; top: 12px; left: 12px; z-index: 2; }

/* ---------- Cards: event (ticket) ---------- */
.event-list { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.event-card__link {
  position: relative; display: grid; grid-template-columns: 92px 1fr; height: 100%;
  background: var(--c-white); border: var(--border); border-radius: var(--radius);
  text-decoration: none; overflow: hidden;
  transition: box-shadow var(--t-base) ease, transform var(--t-base) var(--ease-out);
}
.event-card__link:hover, .event-card__link:focus-visible { box-shadow: var(--shadow-solid); }
.motion-ok .event-card__link:hover { transform: translateY(-3px); }
.event-card__date {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  padding: var(--s-4) var(--s-2); background: var(--c-yellow); border-right: 2px dashed var(--c-ink);
  text-align: center; line-height: 1.1; position: relative;
}
/* ticket notches */
.event-card__date::before, .event-card__date::after {
  content: ""; position: absolute; right: -10px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--c-white); border: 2px solid var(--c-ink);
}
.event-card__date::before { top: -11px; }
.event-card__date::after { bottom: -11px; }
.section--cream .event-card__date::before, .section--cream .event-card__date::after { background: var(--c-cream); }
.event-card__day { font-family: var(--f-head); font-size: 2.1rem; font-weight: 700; }
.event-card__month { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .875rem; }
.event-card__weekday { font-size: .8125rem; font-weight: 600; }
.event-card__body { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-4) var(--s-5); min-width: 0; }
.event-card__title { font-size: 1.2rem; }
.event-card__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--c-ink-soft); font-size: var(--fs-small); }
.event-card__meta span { display: inline-flex; align-items: center; gap: .35em; }
.event-card__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.event-card.is-cancelled .event-card__title { text-decoration: line-through; text-decoration-thickness: 2px; }
.event-card.is-cancelled .event-card__date, .event-card.is-full .event-card__date { background: var(--c-grey); }

/* ---------- Empty state ---------- */
.empty-state {
  display: grid; gap: var(--s-5); align-items: center; grid-template-columns: minmax(0, 180px) 1fr;
  padding: var(--s-6); border: 2px dashed var(--c-ink); border-radius: var(--radius); background: var(--c-white);
}
.empty-state .illustration { width: 100%; height: auto; }
.empty-state__title { font-size: var(--fs-h3); margin-bottom: var(--s-2); }
.empty-state__actions { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: center; margin-top: var(--s-4); }
@media (max-width: 599px) { .empty-state { grid-template-columns: 1fr; text-align: left; } .empty-state .illustration { max-width: 160px; } }

/* ---------- Cards: post ---------- */
.post-card__link { display: flex; flex-direction: column; height: 100%; background: var(--c-white); border: var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: box-shadow var(--t-base) ease; }
.post-card__link:hover, .post-card__link:focus-visible { box-shadow: var(--shadow-solid); }
.post-card__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-card__body { padding: var(--s-5); display: grid; gap: var(--s-2); }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); font-size: var(--fs-small); color: var(--c-ink-soft); }
.post-card__title { font-size: var(--fs-h3); }
.post-card__text { color: var(--c-ink-soft); font-size: 1rem; }

/* ---------- Newsletter / staging placeholders ---------- */
.newsletter {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5);
  padding: clamp(20px, 3vw, 36px); background: var(--c-cream); border: var(--border); border-radius: var(--radius);
}
.newsletter__title { font-size: var(--fs-h3); margin-bottom: var(--s-2); }
.placeholder-tile {
  display: grid; place-content: center; text-align: center; min-height: 160px; padding: var(--s-5);
  background: repeating-linear-gradient(135deg, var(--c-grey) 0 12px, #ECECE8 12px 24px);
  border: 2px dashed var(--c-ink-soft); border-radius: var(--radius); color: var(--c-ink-soft); font-weight: 600;
}
.placeholder-tile { gap: 4px; justify-items: center; }
.placeholder-tile .icon { width: 22px; height: 22px; opacity: .7; }
.placeholder-tile small { font-weight: 400; }
.placeholder-tile--text { min-height: 0; text-align: left; place-content: start; justify-items: start; padding: var(--s-5) var(--s-6); }

/* ---------- Toggles' icon states ---------- */
.menu-toggle[aria-expanded="true"] .menu-toggle__open,
.menu-toggle[aria-expanded="false"] .menu-toggle__close,
.motion-toggle[aria-pressed="false"] .motion-toggle__play,
.motion-toggle[aria-pressed="true"] .motion-toggle__pause { display: none; }

/* ---------- Prose (editor content) ---------- */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .4em; }
.prose a { font-weight: 600; text-decoration-color: var(--c-yellow); }
.prose blockquote { border-left: 4px solid var(--c-yellow); padding-left: var(--s-4); font-size: var(--fs-lead); }
.prose img { border-radius: var(--radius-sm); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--c-ink); color: var(--c-white); padding-top: calc(var(--s-9) + 20px); margin-top: 0; }
.site-footer a { color: var(--c-white); }
.site-footer a:hover { color: var(--c-yellow-soft); }
.footer-grid { display: grid; gap: var(--s-7) var(--s-6); grid-template-columns: 1.3fr 1fr 1fr 1fr; }
.footer-logo { display: inline-block; background: var(--c-cream); border-radius: var(--radius); padding: 12px 18px; box-shadow: 5px 5px 0 0 var(--c-yellow); }
.footer-logo img { height: 52px; width: auto; }
.footer-brand p { margin-top: var(--s-5); max-width: 32ch; color: rgba(255, 255, 255, .86); }
.footer-title { font-size: 1.05rem; color: var(--c-yellow-soft); margin-bottom: var(--s-4); }
.footer-list { display: grid; gap: 0; }
.footer-list a, .footer-list li > span { display: inline-flex; align-items: center; gap: .6em; min-height: 44px; text-decoration: none; padding-block: 4px; }
.footer-list a:hover span { text-decoration: underline; text-decoration-color: var(--c-yellow); }
.footer-list .icon { margin-top: .2em; color: var(--c-yellow-soft); }
.footer-hours { white-space: pre-line; color: rgba(255, 255, 255, .86); margin-top: var(--s-3); font-size: var(--fs-small); }
.footer-nav .menu { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.footer-nav .menu a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.footer-nav .menu a:hover { text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4);
  margin-top: var(--s-8); padding-block: var(--s-5) var(--s-6); border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: var(--fs-small); color: rgba(255, 255, 255, .8); position: relative;
}
.motion-toggle {
  display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: 8px 16px;
  background: transparent; color: var(--c-white); border: 1.5px solid rgba(255, 255, 255, .55); border-radius: var(--radius-pill);
  font-weight: 600; font-size: var(--fs-small);
}
.motion-toggle:hover { border-color: var(--c-yellow-soft); color: var(--c-yellow-soft); }
.motion-toggle .icon { width: 18px; height: 18px; }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Star hunt ---------- */
.star-slot { position: absolute; z-index: var(--z-stars); width: 44px; height: 44px; pointer-events: none; }
.star-slot--footer { position: static; margin-inline: auto; }
.hidden-star {
  pointer-events: auto; width: 44px; height: 44px; padding: 10px; display: grid; place-items: center;
  background: transparent; border: 0; border-radius: 50%; color: var(--c-yellow-soft);
}
.hidden-star svg { width: 24px; height: 24px; filter: drop-shadow(0 0 .5px var(--c-ink)) drop-shadow(0 0 .5px var(--c-ink)); }
.hidden-star:hover { color: var(--c-yellow); }
.hidden-star.is-found { color: var(--c-yellow); cursor: default; }
.hidden-star.is-found svg { filter: drop-shadow(0 0 6px rgba(245, 184, 19, .9)); }
.motion-ok .hidden-star:not(.is-found) svg { animation: twinkle 5s ease-in-out infinite; }
.spark { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--c-yellow); pointer-events: none; }
.star-toast {
  position: fixed; left: 16px; bottom: 16px; z-index: var(--z-toast);
  display: flex; align-items: center; gap: .6em;
  background: var(--c-ink); color: var(--c-white); padding: 12px 18px; border-radius: var(--radius-pill);
  font-weight: 700; box-shadow: 4px 4px 0 0 var(--c-yellow);
}
.star-toast .icon { color: var(--c-yellow); }
.star-flight { position: fixed; left: 0; top: 30vh; width: 140px; z-index: var(--z-toast); pointer-events: none; }

/* ---------- Cookie consent (GA4) ---------- */
.consent {
  position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; max-width: 540px; margin-inline: auto;
  background: var(--c-white); border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-solid), var(--shadow-paper); padding: var(--s-5);
}
.consent__title { font-family: var(--f-head); font-weight: 700; font-size: 1.1rem; margin-bottom: var(--s-2); }
.consent__text { font-size: var(--fs-small); color: var(--c-ink-soft); }
.consent__text a { color: var(--c-ink); font-weight: 700; text-decoration-color: var(--c-yellow); }
.consent__actions { display: flex; gap: var(--s-3); margin-top: var(--s-4); }
.consent__actions .btn { flex: 1; }
.consent:not([hidden]) ~ .star-toast { bottom: 220px; }
@media (max-width: 599px) {
  .consent { left: 8px; right: 8px; bottom: 8px; padding: var(--s-4); box-shadow: 4px 4px 0 0 var(--c-yellow), var(--shadow-paper); }
  .consent__title { font-size: 1rem; margin-bottom: var(--s-1); }
  .consent__text { font-size: .875rem; line-height: 1.5; }
  .consent__actions { margin-top: var(--s-3); }
}

/* ---------- Complianz banner in the site's style (overrides its Colors settings) ----------
   Accept and Deny are deliberately identical: equal prominence, as the Greek DPA requires. */
.cmplz-cookiebanner, #cmplz-manage-consent {
  --cmplz_banner_background_color: var(--c-white);
  --cmplz_banner_border_color: var(--c-ink);
  --cmplz_banner_border_width: 2px;
  --cmplz_banner_border_radius: 20px;
  --cmplz_text_color: var(--c-ink);
  --cmplz_hyperlink_color: var(--c-ink);
  --cmplz_title_font_size: 18px;
  --cmplz_text_font_size: 15px;
  --cmplz_link_font_size: 14px;
  --cmplz_category_body_font_size: 14px;
  --cmplz_category_header_title_font_size: 15px;
  --cmplz_category_header_always_active_color: var(--c-success);
  --cmplz_button_font_size: 15px;
  --cmplz_button_border_radius: 999px;
  --cmplz_button_accept_background_color: var(--c-yellow);
  --cmplz_button_accept_border_color: var(--c-ink);
  --cmplz_button_accept_text_color: var(--c-ink);
  --cmplz_button_deny_background_color: var(--c-yellow);
  --cmplz_button_deny_border_color: var(--c-ink);
  --cmplz_button_deny_text_color: var(--c-ink);
  --cmplz_button_settings_background_color: var(--c-white);
  --cmplz_button_settings_border_color: var(--c-ink);
  --cmplz_button_settings_text_color: var(--c-ink);
}
.cmplz-cookiebanner { font-family: var(--f-body); box-shadow: 6px 6px 0 0 var(--c-yellow), var(--shadow-paper); }
.cmplz-cookiebanner .cmplz-title { font-family: var(--f-head); font-weight: 700; }
.cmplz-cookiebanner .cmplz-message, .cmplz-cookiebanner .cmplz-message p { color: var(--c-ink-soft); }
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
  font-family: var(--f-body); font-weight: 700; min-height: 48px; border-width: 2px;
  box-shadow: 0 3px 0 0 var(--c-ink); transition: background-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept:hover,
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-deny:hover { background-color: var(--c-yellow-hover); }
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-view-preferences:hover,
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-save-preferences:hover { background-color: var(--c-cream); }
.cmplz-cookiebanner .cmplz-btn:focus-visible, .cmplz-cookiebanner a:focus-visible, .cmplz-cookiebanner .cmplz-close:focus-visible,
#cmplz-manage-consent .cmplz-manage-consent:focus-visible { outline: 3px solid var(--c-ink); outline-offset: 3px; box-shadow: 0 0 0 3px var(--c-yellow-soft); }
.cmplz-cookiebanner .cmplz-links a, .cmplz-cookiebanner .cmplz-message a { font-weight: 700; text-decoration-color: var(--c-yellow); text-underline-offset: .18em; }
#cmplz-manage-consent .cmplz-manage-consent { font-family: var(--f-body); font-weight: 700; background: var(--c-ink); color: var(--c-white); border-color: var(--c-ink); }
.cmplz-cookiebanner:not(.cmplz-hidden) ~ .star-toast { bottom: 240px; }

/* ---------- Journey (decorative progress) ---------- */
.journey { position: fixed; z-index: var(--z-journey); pointer-events: none; }
.journey--path { right: max(12px, calc((100vw - var(--container)) / 2 - 92px)); top: 18vh; width: 64px; height: 64vh; }
.journey--path svg { overflow: visible; }
.journey__route { fill: none; stroke: var(--c-ink); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; opacity: .45; }
.journey__station { position: absolute; width: 18px; height: 18px; margin: -9px; color: var(--c-white); transition: color 400ms ease, transform 400ms var(--ease-out); }
.journey__station svg { width: 100%; height: 100%; filter: drop-shadow(0 0 .6px var(--c-ink)) drop-shadow(0 0 .6px var(--c-ink)); }
.journey__station.is-lit { color: var(--c-yellow); transform: scale(1.25); }
.journey__ship { position: absolute; left: 0; top: 0; width: 46px; margin: -22px 0 0 -23px; will-change: transform; }
.journey--bar { left: 0; right: 0; top: 0; height: 4px; }
.journey__fill { position: absolute; inset: 0; background: var(--c-yellow); transform-origin: left; transform: scaleX(0); }
.journey--bar .journey__ship { width: 28px; margin: -6px 0 0 -14px; top: 0; }
.admin-bar .journey--bar { top: 46px; }

/* ---------- Ambient motion (only when allowed) ---------- */
@keyframes twinkle { 0%, 100% { opacity: .45; transform: scale(.85); } 50% { opacity: 1; transform: scale(1); } }
@keyframes bob { from { transform: translateY(0) rotate(-1deg); } to { transform: translateY(-12px) rotate(1deg); } }
@keyframes flicker { from { transform: scale(.94, .9); opacity: .78; } to { transform: scale(1.06, 1.04); opacity: 1; } }
@keyframes hop { 0% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-14px) rotate(-6deg); } 60% { transform: translateY(0) rotate(3deg); } 80% { transform: translateY(-4px); } 100% { transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}
