:root{
    --bg:#07070a;
    --text:#fff;
    --muted:rgba(255,255,255,.90);
    --muted2:rgba(255,255,255,.70);
    --glass:rgba(255,255,255,.06);
    --glass2:rgba(255,255,255,.04);
    --border:rgba(255,255,255,.12);
    --border2:rgba(255,255,255,.10);
    --shadow:0 18px 50px rgba(0,0,0,.22);
    --shadow2:0 22px 70px rgba(0,0,0,.28);
    --r:22px;
  }
  
  *{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; }
  body{
    margin:0;
    background:var(--bg);
    color:var(--text);
    font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  }
  
  
  .container{
    max-width:1100px;
    margin:0 auto;
    padding:0 18px;
  }
  
  .space{ height: var(--h, 40px); }
  
  .section{
    max-width:1100px;
    margin:0 auto;
    padding:0 18px;
  }
  
  .section__title{
    margin:0;
    text-align:center;
    font-size: clamp(28px, 3vw, 40px);
    letter-spacing:.2px;
  }
  
  .section__lead{
    max-width:900px;
    margin:14px auto 0;
    padding:0 18px;
    text-align:center;
    opacity:.90;
    line-height:1.7;
  }
  
  .hero{ padding:0 18px; }
  .hero__media{
    position:relative;
    width:100%;
    height:100vh;
    overflow:hidden;
    border-radius:20px;
    margin-bottom:40px;
    box-shadow:0 18px 55px rgba(0,0,0,.30);
  }
  .hero__media video{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }
  
  .stack{
    display:flex;
    flex-direction:column;
    gap:26px;
    max-width:1100px;
    margin:0 auto;
    padding:0 18px;
  }
  
  .tile{
    border-radius:var(--r);
    overflow:hidden;
    border:1px solid var(--border2);
    background:var(--glass);
    backdrop-filter:blur(18px) saturate(140%);
    box-shadow:var(--shadow);
  }
  
  .tile--split{
    display:flex;
    flex-direction:column;
  }
  .tile__image{
    position:relative;
    width:100%;
    height:220px;
    overflow:hidden;
  }
  .tile__image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transform:scale(1.02);
  }
  .tile__grad{
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,0) 55%, rgba(0,0,0,.25));
  }
  .tile__content{
    padding:18px 18px 20px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:10px;
  }
  .tile__head{ display:flex; flex-direction:column; gap:6px; }
  .tile__head h3{ margin:0; font-size:22px; letter-spacing:.2px; }
  .tile__rule{ width:100%; height:2px; background:rgba(255,255,255,.22); }
  .tile__content p{
    margin:0;
    opacity:.90;
    line-height:1.7;
    font-size:15px;
    max-width:62ch;
  }
  
  /* reverse split on desktop */
  @media (min-width: 860px){
    .tile--split{ flex-direction:row; }
    .tile__image{ height:auto; width:44%; }
    .tile__content{ width:56%; }
    .tile--reverse .tile__image{ order:2; }
    .tile--reverse .tile__content{ order:1; }
  }
  
  .grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    padding:0 18px;
  }
  @media (min-width: 860px){
    .grid{ grid-template-columns:repeat(4,1fr); }
  }
  .tile-image{
    overflow:hidden;
    border-radius:15px;
    box-shadow:0 18px 45px rgba(0,0,0,.18);
  }
  .tile-image img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
  }
  
  .center{ display:flex; justify-content:center; margin:26px 0 10px; }
  .center-col{ display:flex; flex-direction:column; align-items:center; gap:10px; }
  
  /* Buttons */
  .btn{
    border:none;
    cursor:pointer;
    font-weight:700;
    padding:14px 30px;
    transition:transform .2s ease, opacity .2s ease, color .2s ease;
  }
  .btn--pill{ border-radius:999px; }
  .btn--ghost{
    background:rgba(255,255,255,.90);
    color:#000;
    box-shadow:0 14px 34px rgba(0,0,0,.25);
  }
  .btn--white{
    background:#fff;
    color:#000;
    border-radius:30px;
    font-weight:600;
  }
  .btn:hover{ transform:translateY(-1px); opacity:.95; }
  .btn:hover{ color:#c00; }
  
  /* About section glow */
  .about-wrap{ position:relative; }
  .about-glow{
    position:absolute;
    left:0; right:0;
    top:-140px;
    height:360px;
    pointer-events:none;
    background:radial-gradient(circle at 50% 0%, rgba(255,255,255,.12), rgba(0,0,0,0) 62%);
  }
  
  .two-col{
    display:flex;
    flex-direction:column;
    gap:18px;
  }
  @media (min-width: 860px){
    .two-col{ flex-direction:row; gap:22px; }
    .two-col > :first-child{ width:42%; }
    .two-col > :last-child{ width:58%; }
  }
  
  .glass-card{
    position:relative;
    overflow:hidden;
    border-radius:24px;
    border:1px solid var(--border);
    background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
    backdrop-filter:blur(22px) saturate(160%) contrast(115%);
    box-shadow:var(--shadow2);
    padding:20px;
  }
  @media (min-width: 860px){ .glass-card{ padding:26px; } }
  .glass-card--pad{ padding:14px; }
  
  .shine{
    position:absolute;
    inset:-40px;
    pointer-events:none;
    background:linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,0) 45%);
  }
  
  .meta{
    position:relative;
    font-size:12px;
    letter-spacing:.22em;
    text-transform:uppercase;
    opacity:.70;
    margin-bottom:8px;
  }
  .h2{ position:relative; margin:0; font-size:22px; letter-spacing:.2px; }
  .rule-grad{
    position:relative;
    width:100%;
    height:1px;
    margin:10px 0 14px;
    background:linear-gradient(90deg, rgba(255,255,255,.30), rgba(255,255,255,.06), rgba(255,255,255,0));
  }
  .p{ position:relative; margin:0; opacity:.90; line-height:1.85; font-size:15px; max-width:62ch; }
  .chips{ position:relative; display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }
  .chip{
    padding:9px 12px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.14);
    background:rgba(255,255,255,.06);
    font-size:13px;
    opacity:.95;
  }
  
  .cap-head{
    position:relative;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:12px;
  }
  .cap-sub{ opacity:.70; font-size:13px; }
  
  .cap-list{ position:relative; display:flex; flex-direction:column; gap:10px; }
  .cap-item{
    display:flex;
    gap:10px;
    padding:12px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.10);
    background:rgba(255,255,255,.04);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.18);
  }
  .dot{
    width:8px; height:8px;
    border-radius:999px;
    margin-top:8px;
    background:rgba(255,255,255,.55);
    flex:0 0 auto;
  }
  .cap-title{ font-weight:850; font-size:15px; letter-spacing:.1px; }
  .cap-text{ opacity:.85; line-height:1.65; font-size:13px; max-width:70ch; margin-top:3px; }
  
  .row-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:14px;
    flex-wrap:wrap;
    margin-bottom:14px;
  }
  
  .awards-swipe{
    display:flex;
    gap:12px;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x mandatory;
    padding:6px 4px 10px;
  }
  .awards-grid{ display:none; }
  @media (min-width: 860px){
    .awards-swipe{ display:none; }
    .awards-grid{
      display:grid;
      grid-template-columns:repeat(auto-fit, minmax(140px, 1fr));
      gap:12px;
      align-items:center;
    }
  }
  .award-box{
    scroll-snap-align:start;
    height:72px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.10);
    background:rgba(255,255,255,.04);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.16);
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
  }
  .award-box img{
    max-width:78%;
    max-height:72%;
    object-fit:contain;
    opacity:.92;
  }
  
  /* Reveal */
  .reveal{
    opacity:0;
    transform: translateY(80px);
    transition: transform .6s cubic-bezier(.22,.61,.36,1), opacity .6s ease;
    will-change: transform, opacity;
  }
  .reveal--down{ transform: translateY(100px); }
  .reveal--up{ transform: translateY(-80px); }
  .reveal--left{ transform: translateX(-80px); }
  .reveal--right{ transform: translateX(80px); }
  .reveal.is-visible{ opacity:1; transform:none; }
  

/* ===== Correct Pill Header (Desktop + Mobile) ===== */

.cp-header{
    position: fixed;
    top: 18px;
    left: 0;
    right: 0;
    z-index: 999;
  
    /* entrance state */
    transform: translateY(-18px);
    opacity: 0;
    filter: blur(6px);
  
    transition:
      transform .55s cubic-bezier(.16,1,.3,1),
      opacity .55s ease,
      filter .55s ease;
    pointer-events: none;
  }
  
  /* after load */
  .cp-header.is-ready{
    transform: translateY(0);
    opacity: 1;
    filter: blur(0);
  }
  
  /* hide on scroll down */
  .cp-header.is-hidden{
    transform: translateY(-140%);
    opacity: 0;
    filter: blur(8px);
  }
  
  /* pill */
  .cp-header__pill{
    pointer-events: auto;
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 22px;
    border-radius: 999px;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 22px 70px rgba(0,0,0,0.35);
  
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  
    transition: box-shadow .35s ease, transform .35s ease, background .35s ease;
  }
  
  .cp-header__brand{
    display: inline-flex;
    align-items: center;
    text-decoration: none;
  }
  
  .cp-header__logo{
    height: 40px;
    width: auto;
    display: block;
  }
  
  /* desktop nav */
  .cp-header__nav{
    display: flex;
    align-items: center;
    gap: 26px;
  }
  
  .cp-header__nav a{
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 550;
    opacity: 0.95;
  }
  
  .cp-header__nav a:hover{
    opacity: 1;
  }
  
  /* Burger: hidden on desktop */
  .cp-header__burger{
    display: none;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: none;
    background: #000;
    cursor: pointer;
    box-shadow: 0 18px 45px rgba(0,0,0,0.25);
  }
  
  /* Hamburger lines */
  .cp-burger__lines{
    position: relative;
    display: block;
    width: 22px;
    height: 2px;
    margin: 0 auto;
    background: #fff;
    border-radius: 2px;
  }
  .cp-burger__lines::before,
  .cp-burger__lines::after{
    content:"";
    position:absolute;
    left:0;
    width:22px;
    height:2px;
    background:#fff;
    border-radius:2px;
    transition: transform .2s ease, top .2s ease, opacity .2s ease;
  }
  .cp-burger__lines::before{ top:-7px; }
  .cp-burger__lines::after{ top:7px; }
  
  /* Burger -> X when open */
  .cp-header.is-menu-open .cp-burger__lines{ background: transparent; }
  .cp-header.is-menu-open .cp-burger__lines::before{ top:0; transform: rotate(45deg); }
  .cp-header.is-menu-open .cp-burger__lines::after{ top:0; transform: rotate(-45deg); }
  
  /* Mobile rules */
  @media (max-width: 860px){
    .cp-header{ top: 14px; }
    .cp-header__pill{ padding: 16px 18px; }
    .cp-header__logo{ height: 34px; }
    .cp-header__nav{ display: none; }
    .cp-header__burger{
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
  }
  
  /* ===== Mobile overlay + panel ===== */
  .cp-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 998;
  }
  
  .cp-mobile{
    position: fixed;
    inset: 0;
    z-index: 998;
    pointer-events: none;
  }
  
  .cp-mobile__panel{
    pointer-events: auto;
    width: min(360px, 84vw);
    height: 100%;
    padding: 18px 18px;
    padding-top: 110px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(22px) saturate(160%);
    border-right: 1px solid rgba(255,255,255,0.25);
    box-shadow: 20px 0 80px rgba(0,0,0,0.35);
  
    transform: translateX(-110%);
    transition: transform .28s cubic-bezier(.22,.61,.36,1);
  
    display: flex;
    align-items: flex-start;
  }
  
  .cp-mobile.is-open .cp-mobile__panel{
    transform: translateX(0);
  }
  
  .cp-mobile__nav{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  
  .cp-mobile__item{
    display: block;
    width: 100%;
    padding: 16px 18px;
    border-radius: 18px;
    text-decoration: none;
    color: #000;
    font-weight: 600;
    background: rgba(255,255,255,0.75);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
  }
  
  /* ===== Portfolio video modal ===== */

.portfolio-card{
  padding:0;
  border:none;
  background:transparent;
  cursor:pointer;
  display:block;
  width:100%;
  border-radius:15px;
  overflow:hidden;
  position:relative;
  box-shadow:0 18px 45px rgba(0,0,0,.18);
  transform: translateZ(0);
}
.portfolio-card img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition: transform .45s cubic-bezier(.22,.61,.36,1), filter .45s ease;
}
.portfolio-card:hover img{
  transform: scale(1.03);
  filter: brightness(0.92);
}

/* play badge */
.play-badge{
  position:absolute;
  inset:auto 16px 16px 16px;
  width:54px;
  height:54px;
  border-radius:999px;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 55px rgba(0,0,0,.30);

  /* για σωστό centering */
  display:flex;
  align-items:center;
  justify-content:center;
}

.play-badge::before{
  content:"";
  width:0;
  height:0;

  border-left: 16px solid rgba(255,255,255,.95);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;

  /* μικρή οπτική διόρθωση γιατί το triangle είναι "βαρύ" δεξιά */
  transform: translateX(2px);
}

/* modal shell */
.video-modal{
  position:fixed;
  inset:0;
  z-index: 1200;
  display:none;
}
.video-modal.is-open{ display:block; }

.video-modal__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
}

.video-modal__panel{
  position:relative;
  width: min(980px, calc(100vw - 36px));
  margin: 70px auto 0;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 120px rgba(0,0,0,.45);
  overflow:hidden;

  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity .25s ease, transform .25s cubic-bezier(.22,.61,.36,1);
}
.video-modal.is-open .video-modal__panel{
  opacity: 1;
  transform: none;
}

/* close button */
.video-modal__close{
  position:absolute;
  top: 10px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.55);
  color:#fff;
  font-size: 26px;
  line-height: 1;
  cursor:pointer;
}

/* 16:9 responsive */
.video-modal__frame{
  width: 100%;
  aspect-ratio: 16 / 9;
  background:#000;
}
.video-modal__frame iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
}
