/* ═══════════════════════════════════════════════════════════════
   FKECHAGIAS — Premium Web Studio (Full-Page Slider)
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* ── Liquid Glass Design System ──────────────────────────────
     Dark, unsaturated, single-accent. See MEMORY/spec for rules. */

  /* Base surfaces — βαθύ μπλε-μαύρο για περισσότερο depth */
  --bg:              #0d0e12;
  --bg-elevated:     #15161c;
  --surface:         #15161c;

  /* Text — always light-on-dark */
  --text:            #f5f5f7;
  --text-body:       #e8e8ea;
  --text-muted:      #a1a1a6;
  --text-dim:        #a1a1a6;

  /* Hairline borders — never solid grey */
  --border:          rgba(255, 255, 255, 0.12);
  --border-soft:     rgba(255, 255, 255, 0.08);

  /* Single brand accent (periwinkle) — πιο ζωντανό, ίδια οικογένεια */
  --accent:          #7d8ff4;
  --accent-hover:    #94a4ff;
  --accent-dim:      #5663b8;
  --accent-ink:      #0b0e17;                 /* dark text on accent */
  --accent-soft:     rgba(125, 143, 244, 0.16);
  --accent-soft-border: rgba(125, 143, 244, 0.38);
  --accent-grad:     linear-gradient(180deg, #93a3ff 0%, #7787ef 100%);

  /* Glass recipe — ONE recipe for every card/panel/container, no exceptions */
  --glass-bg:        rgba(255, 255, 255, 0.06);
  --glass-blur:      blur(16px);
  --glass-border:    1px solid var(--border);
  --glass-shadow:    0 8px 32px rgba(0, 0, 0, 0.28);

  /* Liquid rim — layered inset light/dark mimicking a curved glass edge */
  --rim: inset 0 1px 0 rgba(255, 255, 255, 0.16),
         inset 0 -1px 0 rgba(0, 0, 0, 0.24),
         0 1px 2px rgba(0, 0, 0, 0.14);
  --rim-strong: inset 0 1.5px 0 rgba(255, 255, 255, 0.22),
                inset 0 -1px 0 rgba(0, 0, 0, 0.28),
                0 2px 4px rgba(0, 0, 0, 0.18);

  /* Radius */
  --radius-sm:       10px;
  --radius-md:       16px;
  --radius-lg:       24px;
  --radius-xl:       28px;
  --radius-pill:     999px;

  /* Motion — subtle & fast, respects prefers-reduced-motion */
  --ease:            cubic-bezier(.4, 0, .2, 1);
  --ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition:      0.25s var(--ease);

  /* Typography */
  --font-display:    'Commissioner', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:       'Space Mono', 'Courier New', monospace;

  /* ── Legacy aliases — DO NOT REMOVE.
     static/js/main.js injects an inline style referencing var(--c-blue)
     and var(--font-display) directly into the DOM; other rules across
     both stylesheets still reference the --c-* names throughout. ── */
  --c-blue:          var(--accent);
  --c-blue-light:    var(--accent-hover);
  --c-blue-dim:      var(--accent-dim);
  --c-purple:        var(--accent);
  --c-purple-light:  var(--accent-hover);
  --c-cyan:          var(--accent-hover);
  --c-bg:            var(--bg);
  --c-bg-elevated:   var(--bg-elevated);
  --c-surface:       var(--surface);
  --c-border:        var(--border);
  --c-border-soft:   var(--border-soft);
  --c-text:          var(--text);
  --c-text-muted:    var(--text-muted);
  --c-text-dim:      var(--text-dim);
  --c-white:         var(--text);
  --ease-out:        var(--ease);
  --glow-blue:       0 12px 48px rgba(125, 143, 244, 0.28);
  --glow-purple:     0 12px 48px rgba(125, 143, 244, 0.20);
  --shadow-card:     var(--glass-shadow);
  --shadow-card-hover: 0 20px 60px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  --grad-accent:     var(--accent);
}

@supports not (backdrop-filter: blur(1px)) {
  .nav-inner, .nav-glass.scrolled .nav-inner, .mobile-menu,
  .cookie-banner, .contact-form-minimal, .xp-about-card,
  .xp-sitem, .pd-sidebar-block, .pl-card-link, .site-footer,
  .btn-ghost, .hero-marquee, .hero-available, .xp-hend {
    background: var(--bg-elevated) !important;
  }
}

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

/* ── Global Reset ───────────────────────────────────────────── */
html {
  overflow-x: hidden; /* fallback για iOS Safari < 16 (δεν ξέρει το clip) */
  scroll-padding-top: 80px;
}
@supports (overflow-x: clip) {
  /* clip δεν δημιουργεί scroll container όπως το hidden — ασφαλέστερο σε iOS 16+ */
  html { overflow-x: clip; }
}

html, body {
  width: 100%;
  max-width: 100%;
  background-color: var(--bg);
  color: var(--text-body);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Κλείδωμα Scroll ΜΟΝΟ για την Αρχική ────────────────────── */
html:has(body.is-slider) {
  overflow: hidden;
  height: 100%;
}
body.is-slider {
  height: 100%;
  overflow: hidden;
}

a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; outline: none; }

/* ── Preloader ───────────────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0; background: var(--c-bg); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-welcome {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  margin-bottom: 6px;
}
.preloader-domain {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 36px;
}
.preloader-bar-wrap { width: 200px; height: 1px; background: var(--c-border); overflow: hidden; }
.preloader-bar { height: 100%; width: 0%; background: var(--c-blue); transition: width 0.1s linear; }

/* ── Slides Container (Αρχική) ──────────────────────────────── */
.slides-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  overflow: hidden; /* Επιπλέον ασφάλεια */
}

/* ── Normal page container ─────────────────────────────────── */
body:not(.is-slider) .slides-container {
  height: auto;
  overflow: visible;
  position: static;
  width: 100%;
}

/* ── Story Sections (Τα slides) ─────────────────────────────── */
body.is-slider .story-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 3;
  padding: 100px 24px 80px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(36px);
  filter: blur(4px);
  pointer-events: none;
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), filter 1s var(--ease-out), visibility 0s linear 1s;
}

body.is-slider .story-section.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
  pointer-events: auto;
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), filter 1s var(--ease-out), visibility 0s linear 0s;
}

/* ── Homepage sections — one section = one screen ───────────── */
body:not(.is-slider) .story-section {
  position: relative;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  filter: none;
  width: 100%;
  min-height: 100vh;
  /* svh (όχι dvh): το dvh αλλάζει ζωντανά καθώς κρύβεται/εμφανίζεται η μπάρα του
     iOS Safari ΕΝ ΩΡΑ scroll, προκαλώντας απότομα "πηδήματα" περιεχομένου.
     Το svh είναι σταθερό (μέγεθος με ορατή τη μπάρα) — καμία αναδιάταξη στο scroll. */
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center προκαλεί overflow και "overlap" όταν το content
     ξεπερνά το min-height — αντί αυτού χρησιμοποιούμε auto margin */
  justify-content: flex-start;
  padding: 0 24px;
  box-sizing: border-box;
}
/* Λεπτή κεντραρισμένη διαχωριστική γραμμή — ουδέτερο hairline */
body:not(.is-slider) .story-section:not(#hero)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, 70%);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 20%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0.12) 80%, transparent 100%);
}

/* Κεντράρισμα περιεχομένου χωρίς overflow risk */
body:not(.is-slider) .story-section > .container {
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 88px;
  padding-bottom: 60px;
  width: 100%;
}

/* Hide slider-only UI on normal pages */
body:not(.is-slider) .slide-dots,
body:not(.is-slider) .slide-counter,
body:not(.is-slider) .scroll-hint { display: none !important; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; }
.relative { position: relative; }
.z-10 { z-index: 10; }

/* ── Auto-scroll Progress ───────────────────────────────────── */
#scroll-progress-bar {
  position: fixed; top: 0; left: 0; height: 2px;
  background: var(--c-blue); width: 0%; z-index: 9999;
  transition: width 0.1s linear;
}

/* ── Typography & Reveals ───────────────────────────────────── */
.story-overline {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
  text-align: center;
}
.story-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 8.5vw, 104px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 28px;
  text-align: center;
}
.story-title strong {
  font-weight: 800;
  color: var(--text);
}
.story-desc {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.9vw, 19px);
  font-weight: 400;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0;
}

body.is-slider .reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  will-change: transform, opacity;
}
body.is-slider .reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Για νορμάλ σελίδες (πχ. project_detail), IntersectionObserver ενεργοποιεί το .visible */
body:not(.is-slider) .reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
body:not(.is-slider) .reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}
[data-delay="1"] { transition-delay: 0.12s; }
[data-delay="2"] { transition-delay: 0.24s; }
[data-delay="3"] { transition-delay: 0.36s; }

/* ── Buttons ────────────────────────────────────────────────── */
/* Primary: συμπαγές muted accent με ΣΚΟΥΡΟ κείμενο, αχνή αντανάκλαση
   στην κορυφή (λευκό gradient 20% → 0%), liquid rim, hover lift 2px. */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--accent);
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 50%), var(--accent-grad);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--rim);
  transition: transform var(--transition), filter var(--transition), box-shadow var(--transition);
  margin-top: 40px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: var(--rim), 0 8px 24px rgba(125, 143, 244, 0.4);
}

/* ── Variant: πεδίο κειμένου + σκούρος κύκλος με βέλος στα δεξιά ──
   Μεγαλώνει το κενό + κάνει scale ο κύκλος στο hover */
.btn-primary.btn-circle {
  padding: 8px 8px 8px 26px;
  transition: gap var(--transition), transform var(--transition),
              background-color var(--transition), box-shadow var(--transition);
}
.btn-primary.btn-circle:hover { gap: 16px; }
.btn-circle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-ink);
  color: var(--text);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-spring);
}
.btn-primary.btn-circle:hover .btn-circle-icon {
  transform: scale(1.12);
}
/* Secondary: διάφανο glass με hairline border — ουδέτερο idle,
   το χρώμα εμφανίζεται μόνο στο hover */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-body);
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 550;
  letter-spacing: -0.01em;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--rim);
  margin-top: 40px;
  transition: border-color var(--transition), color var(--transition), transform var(--transition), background var(--transition);
}
.btn-ghost:hover {
  border-color: var(--accent-soft-border);
  color: var(--text);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

@keyframes ce-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ── Tablet large (1000px – 1199px) ─────────────────────────── */
@media (max-width: 1199px) and (min-width: 1000px) {
  body:not(.is-slider) .story-section { padding: 0 40px; }
  .story-title { font-size: clamp(32px, 4.5vw, 54px); }
  .footer-sig-text { font-size: clamp(52px, 9vw, 110px); }
}

/* ── Tablet small (769px – 999px) ───────────────────────────── */
@media (max-width: 999px) and (min-width: 769px) {
  body:not(.is-slider) .story-section { padding: 0 32px; }
  .story-title { font-size: clamp(30px, 5vw, 48px); }
  .footer-sig-text { font-size: clamp(48px, 9vw, 100px); }
}

/* ── Contact Form ───────────────────────────────────────────── */
.minimal-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.minimal-input:focus {
  border-color: var(--accent-soft-border);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.minimal-input::placeholder { color: var(--text-muted); font-style: normal; letter-spacing: 0.01em; }

/* ── Animated CSS Background ────────────────────────────────── */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: var(--bg);
  /* Προωθεί το fixed+blurred background στο δικό του compositor layer ώστε
     το iOS Safari να μην το ξαναζωγραφίζει σε κάθε frame του scroll (jank fix) */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
}
/* Διακριτικό dot-grid texture — premium "engineered" feel (Linear/Vercel style) */
.ambient-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 80%);
}
@media (max-width: 768px) { .ambient-bg::before { display: none; } }
/* Blobs: αποκορεσμένα, μονής απόχρωσης, πολύ χαμηλής έντασης —
   δίνουν βάθος χωρίς να γίνονται πολύχρωμο gradient show */
.ab-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.ab-1 {
  width: 75vmax;
  height: 75vmax;
  background: #2c355e;
  opacity: 0.5;
  top: -25%;
  left: -10%;
}
.ab-2 {
  width: 60vmax;
  height: 60vmax;
  background: #242a4c;
  opacity: 0.45;
  bottom: -20%;
  right: -10%;
}
.ab-3 {
  width: 45vmax;
  height: 45vmax;
  background: #272e54;
  opacity: 0.3;
  top: 30%;
  left: 35%;
}
.ab-4, .ab-5 { display: none; }
/* ── UI Elements ────────────────────────────────────────────── */

/* Site-wide WebGL wave field (three-scene.js) — ίδιο stacking slot
   με το ambient-bg (fixed, z0, αμέσως μετά του στο DOM) ώστε να
   κάθεται πάντα πίσω από το περιεχόμενο σε κάθε σελίδα. */
#xp-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
}

/* ── Navigation — floating liquid glass pill ─────────────────── */
.nav-glass {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1280px;
  z-index: 1000;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  padding: 10px 10px 10px 24px;
  box-shadow: var(--rim);
  transition: background var(--transition), border-color var(--transition),
              box-shadow var(--transition), padding var(--transition);
}
/* Στο scroll: πιο συμπαγές, πιο σκούρο, πιο θολό (toggle .scrolled από main.js) */
.nav-glass.scrolled .nav-inner {
  background: rgba(16, 16, 18, 0.72);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-color: var(--border);
  padding: 6px 6px 6px 20px;
  box-shadow: var(--rim-strong), 0 8px 32px rgba(0, 0, 0, 0.4);
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
  letter-spacing: -0.03em;
}
.nav-logo-dot { color: var(--accent); }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-link {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}
/* Ενεργή ενότητα/σελίδα: μόνιμο pill background */
.nav-link.active {
  color: var(--text);
  background: var(--accent-soft);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
  background-color: var(--accent);
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 50%), var(--accent-grad);
  color: var(--accent-ink);
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  box-shadow: var(--rim);
  transition: filter var(--transition), transform var(--transition), box-shadow var(--transition);
}
.nav-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: var(--rim), 0 8px 24px rgba(125, 143, 244, 0.4);
}
.nav-cta-arrow { display: inline-block; transition: transform var(--transition); }
.nav-cta:hover .nav-cta-arrow { transform: translate(2px, -2px); }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hb-line { width: 22px; height: 1.5px; background: var(--text); transition: transform 0.3s; transform-origin: center; }
.nav-hamburger.open .hb-top { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-hamburger.open .hb-bottom { transform: rotate(-45deg) translate(4.5px, -4.5px); }
@media (max-width: 999px) { .nav-links { display: none; } .nav-hamburger { display: flex; } }

/* Mobile drawer — πραγματικό frosted glass (υπάρχει περιεχόμενο από πίσω) */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(16, 16, 18, 0.82);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  transform: translateY(-100%);
  transition: transform 0.45s var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
/* Το hamburger/X στο navbar (z-index:1000) μένει κρυμμένο πίσω από
   αυτό το overlay (z-index:1001) μόλις ανοίξει — χρειάζεται δικό
   του, ορατό κουμπί κλεισίματος μέσα στο ίδιο το μενού. */
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--rim);
  transition: background var(--transition), transform 0.3s var(--ease-spring);
}
.mobile-menu-close:hover { background: rgba(255, 255, 255, 0.1); transform: rotate(90deg); }
.mobile-nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-nav-link {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(32px, 8vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-body);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
  text-align: left;
  transition: color var(--transition);
}
.mobile-nav-link:hover { color: var(--text); }
.mobile-nav-cta { color: var(--accent-hover) !important; border-bottom: none; }
.mobile-menu-contacts { margin-top: 48px; display: flex; flex-direction: column; gap: 8px; }

/* ── Footer / Project Details additions ─────────────────────── */
.site-footer {
  padding: 80px 0 40px;
  background: rgba(16, 16, 18, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--border-soft);
  position: relative;
  z-index: 4;
  overflow: hidden;
}
/* Πολύ διακριτικό glow πίσω από την υπογραφή */
.site-footer::after {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(125, 143, 244, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
body:not(.is-slider) .site-footer.story-section {
  min-height: unset;
  justify-content: flex-start;
  padding: 80px 0 40px;
}
.footer-signature { margin-bottom: 60px; line-height: 1.1; text-align: center; overflow: visible; padding-top: 8px; }
.footer-sig-text {
  font-family: var(--font-display);
  font-size: clamp(32px, 7vw, 110px);
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  letter-spacing: -0.04em;
  display: inline-block;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid var(--c-border); margin-bottom: 40px; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-grid > .footer-col:first-child { grid-column: 1 / -1; }
  .footer-email-hide { display: none; }
}
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } }
.footer-tagline {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 500;
  color: var(--text-body);
  letter-spacing: -0.01em;
  line-height: 1.45;
  margin-bottom: 28px;
}
.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--rim);
  transition: transform var(--transition), border-color var(--transition), color var(--transition), background var(--transition);
}
.footer-socials a:hover {
  transform: translateY(-3px);
  border-color: var(--accent-soft-border);
  color: var(--text);
  background: var(--accent-soft);
}
.footer-col-title { font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--c-text-dim); margin-bottom: 20px; }
.footer-links, .footer-contacts { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links li { font-size: 14px; color: var(--c-text-muted); }
.footer-contacts a { display: flex; flex-direction: column; gap: 2px; }
.fc-label { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-text-dim); }
.footer-contacts span:not(.fc-label) { font-size: 14px; color: var(--c-text-muted); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: 13px; color: var(--c-text-dim); }

/* ── Contact Form Minimal — κοινή glass συνταγή ─────────────── */
.contact-form-minimal {
  width: 100%;
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), var(--rim);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form-minimal:focus-within {
  border-color: var(--accent-soft-border);
  box-shadow: var(--glass-shadow), var(--rim), 0 0 0 4px var(--accent-soft);
}
.contact-form-minimal .btn-primary { width: 100%; justify-content: center; margin-top: 8px; }

.contact-form-title {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 24px;
  display: block;
}

.minimal-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
  outline: none;
  resize: none;
  min-height: 96px;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.minimal-textarea:focus {
  border-color: var(--accent-soft-border);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.minimal-textarea::placeholder { color: var(--text-muted); }

/* ── Cookie Banner ──────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 640px;
  background: rgba(23, 23, 26, 0.78);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 8000;
  box-shadow: var(--glass-shadow), var(--rim);
  flex-wrap: wrap;
  transition: opacity var(--transition), transform var(--transition);
}
.cookie-banner.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  pointer-events: none;
}
.cookie-text {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--c-text-muted);
  line-height: 1.6;
  flex: 1;
  min-width: 200px;
}
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn-accept {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
  background-color: var(--accent);
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 50%), var(--accent-grad);
  color: var(--accent-ink);
  border: none;
  border-radius: var(--radius-pill);
  box-shadow: var(--rim);
  padding: 8px 18px;
  cursor: pointer;
  transition: filter var(--transition);
}
.cookie-btn-accept:hover { filter: brightness(1.08); }
.cookie-btn-decline {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}
.cookie-btn-decline:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.24); }
@media (max-width: 480px) {
  .cookie-banner { bottom: 12px; padding: 14px 16px; }
  .cookie-text { font-size: 10px; }
}

/* ── Project Detail ─────────────────────────────────────────── */
.section-pad { padding: 120px 0; }
@media (max-width: 768px) { .section-pad { padding: 80px 0; } }
.container { padding-left: 24px; padding-right: 24px; }
@media (min-width: 769px) and (max-width: 1023px) { .container { padding-left: 40px; padding-right: 40px; } }
@media (min-width: 1024px) { .container { padding-left: 60px; padding-right: 60px; } }
.pd-header { max-width: 800px; }
.pd-title { font-family: var(--font-display); font-size: clamp(40px, 6vw, 72px); font-weight: 700; color: var(--text); margin: 16px 0 24px; line-height: 1.04; letter-spacing: -0.035em; }
.pd-meta { display: flex; gap: 24px; font-size: 14px; color: var(--c-text-muted); flex-wrap: wrap; }
.pd-live { color: var(--c-blue); font-weight: 500; transition: opacity var(--transition); }
.pd-live:hover { opacity: 0.75; }
/* Photo banner: ολόκληρο το screenshot, φυσικός λόγος πλευρών —
   χωρίς crop, χωρίς overlay πάνω στην εικόνα */
.pd-image-full {
  overflow: hidden;
  border-radius: var(--radius-xl);
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card-hover);
  position: relative;
}
.pd-image-full img { display: block; width: 100%; height: auto; }
@media (max-width: 1280px) { .pd-image-full { margin: 0 24px; width: auto; } }
@media (max-width: 600px) { .pd-image-full { margin: 0 16px; } }
.pd-content-grid { display: grid; grid-template-columns: 1fr 300px; gap: 80px; align-items: start; }
@media (max-width: 900px) { .pd-content-grid { grid-template-columns: 1fr; } }
.pd-main h2 { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); margin-bottom: 20px; }
.pd-main p { font-size: 16px; color: var(--c-text-muted); line-height: 1.8; margin-bottom: 20px; }
.pd-case-study { font-size: 15px; color: var(--c-text-muted); line-height: 1.8; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--c-border); }
.pd-sidebar-block {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), var(--rim);
}
.pd-sidebar-block h4 { font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--c-text-dim); margin-bottom: 16px; }
.pd-cs-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-hover);
  background: var(--accent-soft);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  margin-bottom: 14px;
}
.pd-side-text { font-size: 14px; color: var(--text-body); margin: 0; }

/* Σχετικά έργα */
.pd-related-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 28px;
}
.pd-related-title strong { font-weight: 800; }
.pd-related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 700px) { .pd-related-grid { grid-template-columns: 1fr; } }
.pd-related-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--glass-shadow), var(--rim);
  transition: transform var(--transition), border-color var(--transition);
}
.pd-related-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.22); }
.pd-related-card img { display: block; width: 100%; height: auto; }
.pd-related-card .project-placeholder { aspect-ratio: 16 / 9; }
.pd-related-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 20px;
  border-top: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.04);
}
.pd-related-info strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.pd-related-info em {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Πλοήγηση προηγούμενο/επόμενο */
.pd-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.pd-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 46%;
  padding: 16px 20px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--rim);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.pd-nav-link:hover { background: rgba(255, 255, 255, 0.07); border-color: var(--border); transform: translateY(-2px); }
.pd-nav-next { text-align: right; margin-left: auto; }
.pd-nav-dir {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pd-nav-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.pd-cta-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.pd-cta-inner h2 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 48px); font-weight: 700; letter-spacing: -0.03em; color: var(--text); }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 48px; }
.project-industry { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-hover); background: var(--accent-soft); padding: 4px 10px; border-radius: var(--radius-pill); display: inline-block; }
.project-tag {
  font-size: 11px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-right: 6px;
  margin-bottom: 6px;
  transition: border-color var(--transition), color var(--transition);
}
.project-tag:hover { border-color: var(--border); color: var(--text); }

/* ── Scroll Hint Indicator ──────────────────────────────────── */

.scroll-hint.hidden { opacity: 0; }

.sh-label {
  font-family: var(--font-body);
  font-size: 8px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sh-track {
  width: 1px;
  height: 32px;
  background: var(--border);
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}

.sh-dot {
  position: absolute;
  top: -5px;
  left: 0;
  width: 1px;
  height: 5px;
  background: var(--c-blue);
  border-radius: 1px;
  animation: sh-fall 2s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}

@keyframes sh-fall {
  0%   { top: -5px;  opacity: 0; }
  10%  { opacity: 1; }
  80%  { top: 32px;  opacity: 1; }
  85%  { top: 32px;  opacity: 0; }
  86%  { top: -5px;  opacity: 0; }
  100% { top: -5px;  opacity: 0; }
}

/* ── Slide Counter (bottom-left) ────────────────────────────── */
.slide-counter {
  position: fixed;
  bottom: 14px;
  left: 32px;
  z-index: 500;
  display: flex;
  align-items: baseline;
  gap: 5px;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s ease;
}
body:not(.is-slider) .slide-counter { display: none; }

.sc-current {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--c-white);
  letter-spacing: 0.05em;
}
.sc-divider, .sc-total {
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ── Dot Navigation (right side) ────────────────────────────── */
.slide-dots {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
body:not(.is-slider) .slide-dots { display: none; }

.sd-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, height 0.3s ease;
  display: block;
}
.sd-dot:hover { background: rgba(255, 255, 255, 0.5); }
.sd-dot.active {
  background: var(--c-white);
  height: 16px;
  border-radius: 2px;
}

/* ── Mobile blob optimization (performance) ─────────────────── */
@media (max-width: 768px) {
  .ab-blob { filter: blur(60px); }
  .ab-3, .ab-4, .ab-5 { display: none; }
}

/* ── Misc ───────────────────────────────────────────────────── */
::selection { background: rgba(125, 143, 244, 0.30); color: var(--text); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: 3px; }
:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

/* ══════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* Homepage sections on mobile — full screen each */
  body:not(.is-slider) .story-section { padding: 0 20px; }

  .contact-links-mobile-hide { display: none; }

  /* Contact mobile */
  #contact .story-desc { display: none; }
  #contact .minimal-textarea { min-height: 72px; }
  .contact-form-minimal { padding: 20px; border-radius: 14px; }

  /* Typography */
  .story-overline { margin-bottom: 10px; font-size: 9px; }

  .story-title {
    font-size: clamp(30px, 7.5vw, 48px);
    line-height: 1.02;
    margin-bottom: 10px;
  }

  .story-desc {
    font-size: 13px;
    line-height: 1.65;
  }

  /* Buttons */
  .btn-primary, .btn-ghost { margin-top: 16px; padding: 11px 22px; }

  /* Footer */
  .footer-sig-text { font-size: clamp(48px, 14vw, 80px); }
  .site-footer { padding: 60px 0 32px; }
  .footer-signature { margin-bottom: 36px; }

  /* Project detail */
  .section-pad { padding: 60px 0; }
}

@media (max-width: 480px) {

  .story-title { font-size: clamp(28px, 7.5vw, 40px); }

  /* Nav */
  .nav-glass { width: calc(100% - 24px); top: 10px; }

  /* Footer bottom wrap */
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════
   2026 UPGRADE — Cursor · Noise · Hero V2 · Marquee · Services
   ═══════════════════════════════════════════════════════════════ */

/* ── Custom Cursor (fine pointer devices only) ───────────────── */
@media (pointer: fine) {
  body, a, button, [role="button"] { cursor: none; }
}

#cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 5px; height: 5px;
  background: var(--c-white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  mix-blend-mode: difference;
  will-change: transform;
  transition: width .2s var(--ease-spring), height .2s var(--ease-spring), background .2s ease;
}
#cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 38px; height: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9996;
  will-change: transform;
  transition: width .35s var(--ease), height .35s var(--ease),
              border-color var(--transition), background var(--transition);
}
#cursor-ring.cursor-hover  { width: 58px; height: 58px; border-color: var(--accent); background: var(--accent-soft); }
#cursor-dot.cursor-hover   { width: 8px;  height: 8px;  background: var(--accent); }

/* ── Film-Grain Noise Overlay ────────────────────────────────── */
.noise-overlay {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9995;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) { .noise-overlay { display: none; } }

#hero { position: relative; overflow: hidden; }
/* Vignette πάνω από το hero video: σκούρα άκρα, καθαρό κέντρο — όχι blur */
#hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, transparent 30%, rgba(9, 9, 11, 0.5) 100%),
    linear-gradient(to bottom, rgba(9, 9, 11, 0.55) 0%, transparent 22%, transparent 72%, rgba(9, 9, 11, 0.7) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Badge ουδέτερο glass — μόνο η κουκκίδα κατάστασης μένει πράσινη */
.hero-available {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-soft);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--rim);
}
.ha-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #5fb787;
  box-shadow: 0 0 8px rgba(95, 183, 135, 0.6);
  flex-shrink: 0;
  animation: ce-blink 1.8s ease-in-out infinite;
}
/* ── Infinite marquee ribbon ─────────────────────────────────── */
.hero-marquee {
  position: absolute; bottom: 0; left: 0;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--border-soft);
  padding: 13px 0;
  z-index: 5;
  background: rgba(9, 9, 11, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-marquee-track {
  display: inline-flex;
  gap: 32px;
  animation: marquee-scroll 42s linear infinite;
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  align-items: center;
  white-space: nowrap;
}
.hero-marquee:hover .hero-marquee-track { animation-play-state: paused; }
.mq-dot { color: var(--text-muted); font-size: 11px; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-marquee-track { animation-play-state: paused; }
}

/* ── Magnetic button (JS sets inline transform) ──────────────── */
.magnetic {
  transition: transform .45s var(--ease-out), background .3s ease,
              color .3s ease, box-shadow .3s ease !important;
}

/* ── Contact link items ──────────────────────────────────────── */
.contact-link-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 500;
  color: var(--text-body);
  transition: color var(--transition);
}
.contact-link-item:hover { color: var(--accent-hover); }
.contact-link-item svg { flex-shrink: 0; color: var(--text-muted); }

/* ── Project placeholder (no image) ─────────────────────────── */
.project-placeholder {
  width: 100%; height: 100%;
  background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: center;
}
.project-placeholder::after {
  content: 'COMING SOON';
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   POLISH — text contrast, layout fixes, visual refinements
   ═══════════════════════════════════════════════════════════════ */


/* Story sections (non-hero): ensure container has breathing room from nav */
body:not(.is-slider) .story-section > .container {
  padding-top: 100px;
  padding-bottom: 80px;
}

/* Smooth scrolling anchor offset for sections */
#about, #services, #process, #projects, #testimonials, #faq, #demo, #contact {
  scroll-margin-top: 80px;
}

/* Reveal-up: ensure initial state is visible on reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal-up { opacity: 1 !important; transform: none !important; }
}

/* Improve hero available badge on small screens */
@media (max-width: 380px) {
  .hero-available { font-size: 8px; padding: 6px 10px; }
}

/* ═══════════════════════════════════════════════════════════════
   AESTHETIC OVERHAUL — editorial polish, depth, micro-interactions
   ═══════════════════════════════════════════════════════════════ */

/* ── Story overline: inline-flex with leading accent line ─────── */
.story-overline {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
}
.story-overline::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
}
/* ── Footer socials: slightly larger ─────────────────────────── */
.footer-socials a {
  width: 44px; height: 44px;
  border-radius: 12px;
}

/* ── Shared form components (wizard + demo builder) ──────────── */
.bw-mini-label {
  display: block;
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 18px 0 10px;
}
.bw-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 15px 18px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 16px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.bw-input:focus {
  border-color: var(--accent-soft-border);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.bw-input::placeholder { color: var(--text-muted); }
.bw-textarea { resize: none; line-height: 1.6; }
.bw-chip {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--text-body);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 11px 18px;
  cursor: pointer;
  box-shadow: var(--rim);
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), transform var(--transition);
}
.bw-chip:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-1px); }
.bw-chip.is-selected {
  background: var(--accent-soft);
  border-color: var(--accent-soft-border);
  color: var(--text);
}

/* ── Skip link (accessibility) ───────────────────────────────── */
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 10000;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ── Σελίδα σφάλματος (404) ──────────────────────────────────── */
.err-page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 60px;
  position: relative;
  z-index: 2;
}
.err-code {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(90px, 18vw, 200px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.16);
  margin-bottom: 8px;
  user-select: none;
}
.err-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text);
  margin: 0 0 16px;
}
.err-title strong { font-weight: 800; }
.err-sub {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.7vw, 17px);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto;
}
.err-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.err-actions .btn-primary,
.err-actions .btn-ghost { margin-top: 32px; }

/* ── Back to top — floating glass κουμπί ─────────────────────── */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: rgba(23, 23, 26, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 50%;
  box-shadow: var(--rim), 0 8px 24px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), color var(--transition), background var(--transition);
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { color: var(--text); background: rgba(35, 35, 40, 0.85); }
@supports not (backdrop-filter: blur(1px)) {
  .back-to-top { background: var(--bg-elevated); }
}

/* ── Footer πλοήγηση ─────────────────────────────────────────── */
.footer-nav-links a {
  position: relative;
  transition: color var(--transition);
}
.footer-nav-links a:hover { color: var(--text); }
.footer-nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--text-muted);
  transition: width var(--transition);
}
.footer-nav-links a:hover::after { width: 100%; }

/* ── Press feedback σε κουμπιά/CTAs ──────────────────────────── */
.btn-primary:active,
.btn-ghost:active,
.nav-cta:active,
.bw-chip:active,
.xp-hend:active { transform: scale(0.97); }

/* ── Scroll progress bar: solid accent ───────────────────────── */
#scroll-progress-bar {
  background: var(--accent);
  height: 1.5px;
}

/* ── Hero marquee: more visible text ─────────────────────────── */
.hero-marquee-track { gap: 40px; }
.mq-dot { opacity: 0.5; }

