/* Unspoken Flow (/flow/) - header, tabs, carousel, modals.
   Loaded ONLY on the Flow page template. */

:root{ --coffee-dark:#3f2e1d; --coffee:#5c4530; }

/* This page's hero banner is dark green, not the usual light cream behind
   the main site header - so the site logo/menu (normally dark, meant for
   a light background) is nearly invisible here. Force the light ("scrolled")
   look from the very top. Safe to do site-wide within this stylesheet,
   since it only loads on this one template. */
.unspoken-header:not(.is-scrolled) .unspoken-logo-stack img.is-ink{ opacity:0 !important; }
.unspoken-header:not(.is-scrolled) .unspoken-logo-stack img.is-paper{ opacity:1 !important; }
.unspoken-header:not(.is-scrolled) .unspoken-nav a{ color:var(--paper) !important; }
.unspoken-header:not(.is-scrolled) .unspoken-nav-toggle{ color:var(--paper) !important; }
.unspoken-header:not(.is-scrolled) .unspoken-cart-link{ color:var(--paper) !important; }

/* ---------- header: photo-banner style (option Δ, approved) ---------- */
.flow-header{
  position:relative; padding:104px var(--edge-gap) 56px; color:var(--paper); overflow:hidden;
  background:linear-gradient(140deg,#5a6b52,#2f3a2b);
  display:flex; align-items:center; justify-content:center;
}
.flow-header::before{
  content:''; position:absolute; inset:0; opacity:.35;
  background:repeating-linear-gradient(115deg, rgba(255,255,255,.06) 0 2px, transparent 2px 40px);
}
.flow-header > *{ position:relative; z-index:1; }

/* single combined "lockup": flow + OMONYMA, one unit instead of two
   separate elements pulling focus in different corners (approved: Δ) */
.flow-lockup{
  display:inline-flex; align-items:center; gap:16px;
  background:rgba(0,0,0,.25); padding:11px 24px; border-radius:30px;
}
.flow-lockup-word{
  font-family:'Playfair Display', serif; font-style:italic; font-weight:400;
  font-size:clamp(20px,2.6vw,26px); color:#e8b499;
}
.flow-lockup-divider{ width:1px; height:22px; background:rgba(239,234,224,.25); }
.flow-sponsor-credit{
  display:inline-flex; align-items:center; gap:10px; text-decoration:none;
  opacity:.92; transition:opacity .3s ease;
}
.flow-sponsor-credit:hover{ opacity:1; }
.flow-sponsor-credit .label{ font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:#d8d1c0; }
.flow-sponsor-credit img{ height:20px; width:auto; filter:invert(1); }

/* ---------- tabs ---------- */
.flow-tabs{ display:flex; gap:10px; margin-bottom:44px; flex-wrap:wrap; }
.flow-tab{
  padding:11px 24px; border:1px solid var(--line); background:transparent; color:#6b665c;
  font-family:'Inter', sans-serif; font-size:11.5px; letter-spacing:.12em; text-transform:uppercase;
  cursor:pointer; transition:background .3s ease, color .3s ease, border-color .3s ease;
}
.flow-tab.active{ background:var(--ink); border-color:var(--ink); color:var(--paper); }
.flow-tab:hover:not(.active){ border-color:var(--ink); color:var(--ink); }

/* ---------- desktop: single-row carousel / mobile: simple stack ---------- */
.retreat-track-wrap{ position:relative; }
.retreat-grid{
  display:flex; gap:22px; overflow-x:auto; scroll-snap-type:x mandatory;
  scrollbar-width:none; -ms-overflow-style:none; padding-bottom:4px;
}
.retreat-grid::-webkit-scrollbar{ display:none; }
.retreat-grid.dragging{ scroll-snap-type:none; cursor:grabbing; user-select:none; }
.retreat-card{ flex:0 0 auto; width:27vw; scroll-snap-align:start; cursor:pointer; }
.retreat-card.is-hidden{ display:none; }
.retreat-visual{ position:relative; aspect-ratio:4/5; overflow:hidden; background:var(--ink); }
.retreat-visual img{ width:100%; height:100%; object-fit:cover; transition:transform .6s ease; pointer-events:none; }
.retreat-card:hover .retreat-visual img{ transform:scale(1.06); }
.retreat-tag{
  position:absolute; top:16px; left:0; font-size:10px; letter-spacing:.16em; text-transform:uppercase;
  padding:5px 12px 5px 16px; color:var(--paper);
}
.retreat-tag.upcoming{ background:var(--ember); }
.retreat-tag.past{ background:rgba(26,24,21,0.55); }
.retreat-info{ margin-top:16px; }
.retreat-info .rtitle{ font-family:'Playfair Display', serif; font-style:italic; font-size:22px; }
.retreat-info .rmeta{ margin-top:5px; font-size:12.5px; color:#6b665c; }
.retreat-info .rcta{
  margin-top:10px; display:inline-block; font-size:11px; letter-spacing:.12em; text-transform:uppercase;
  border-bottom:1px solid var(--ink); padding-bottom:2px;
}

.unspoken-flow-arrow{
  position:absolute; top:38%; translate:0 -50%;
  width:48px; height:48px; border-radius:50%; z-index:2;
  background:var(--paper); border:1px solid var(--line); color:var(--ink);
  display:flex; align-items:center; justify-content:center; font-size:18px; cursor:pointer;
  box-shadow:0 14px 30px -14px rgba(26,24,21,.35); transition:background .3s ease;
}
.unspoken-flow-arrow:hover{ background:var(--ink); color:var(--paper); }
.unspoken-flow-arrow.prev{ left:-14px; }
.unspoken-flow-arrow.next{ right:-14px; }

@media (max-width:760px){
  .retreat-grid{ display:block; overflow-x:visible; }
  .retreat-card{ width:100%; display:block; margin-bottom:26px; }
  .unspoken-flow-arrow{ display:none; }
}

/* ---------- popup: upcoming (interest form) ---------- */
.flow-modal{ position:fixed; inset:0; z-index:100; background:rgba(15,13,11,0.92); display:none; align-items:center; justify-content:center; padding:5vh 4vw; overflow-y:auto; }
.flow-modal.open{ display:flex; }
.flow-modal-close{
  position:fixed; top:22px; right:22px; width:40px; height:40px; border-radius:50%;
  background:rgba(239,234,224,0.1); border:1px solid rgba(239,234,224,0.28); color:var(--paper);
  display:flex; align-items:center; justify-content:center; cursor:pointer; z-index:5;
}
.flow-modal-body{ width:100%; max-width:960px; max-height:88vh; overflow-y:auto; display:grid; grid-template-columns:1fr 1fr; background:var(--ink); color:var(--paper); }
.flow-modal-visual{ aspect-ratio:4/5; max-height:70vh; background:#3a362f; }
.flow-modal-visual img{ width:100%; height:100%; object-fit:cover; }
.flow-modal-text{ padding:44px 40px; display:flex; flex-direction:column; gap:14px; }
.flow-modal-text .rtitle{ font-family:'Playfair Display', serif; font-style:italic; font-size:28px; }
.flow-modal-text .rmeta-row{ display:flex; gap:24px; font-size:12px; color:var(--mist); padding:14px 0; border-top:1px solid rgba(239,234,224,.15); border-bottom:1px solid rgba(239,234,224,.15); }
.flow-modal-text p.desc{ font-size:14px; line-height:1.8; color:#cdc6b6; }
.flow-form{ margin-top:8px; display:flex; flex-direction:column; gap:10px; }
.flow-form label,
.flow-form span.wpcf7-form-control-wrap{
  display:block !important; color:var(--paper) !important; font-size:12px !important; margin-bottom:4px !important;
}
.flow-form input,
.flow-form textarea,
.flow-form .wpcf7-form-control,
.flow-form .wpcf7-text,
.flow-form .wpcf7-email,
.flow-form .wpcf7-tel,
.flow-form .wpcf7-textarea{
  background:rgba(239,234,224,0.06) !important;
  border:1px solid rgba(239,234,224,.25) !important;
  border-radius:0 !important;
  color:var(--paper) !important;
  padding:12px 14px !important;
  font-family:'Inter', sans-serif !important;
  font-size:13px !important;
  width:100% !important;
  box-shadow:none !important;
  -webkit-appearance:none !important;
  appearance:none !important;
}
.flow-form input::placeholder,
.flow-form textarea::placeholder,
.flow-form .wpcf7-form-control::placeholder{ color:#9c9689 !important; opacity:1 !important; }
.flow-form button,
.flow-form input[type="submit"],
.flow-form .wpcf7-submit{
  margin-top:4px !important; padding:13px 20px !important;
  background:var(--paper) !important; color:var(--ink) !important; border:none !important;
  border-radius:0 !important;
  font-size:11px !important; letter-spacing:.14em !important; text-transform:uppercase !important; cursor:pointer !important;
  width:auto !important;
}
@media (max-width:760px){ .flow-modal-body{ grid-template-columns:1fr; } }

/* ---------- popup: past (recap gallery, light background) ---------- */
.flow-recap-panel{ width:100%; max-width:900px; max-height:90vh; overflow-y:auto; background:var(--paper); color:var(--ink); }
.flow-recap-cover{ aspect-ratio:16/8; overflow:hidden; }
.flow-recap-cover img{ width:100%; height:100%; object-fit:cover; }
.flow-recap-body{ padding:44px var(--edge-gap) 60px; max-width:720px; margin:0 auto; }
.flow-recap-body .rtitle{ font-family:'Playfair Display', serif; font-style:italic; font-size:30px; margin-bottom:6px; }
.flow-recap-body .rmeta{ font-size:12px; color:#6b665c; margin-bottom:26px; }
.flow-recap-body .recap-content p{ color:#4a463f; }

/* shared structural rules for rich content (used by both the past-recap
   panel above, light bg, and the upcoming tabbed panel below, dark bg -
   only spacing/typography here, color is set separately per context) */
.recap-content p{ font-size:15px; line-height:1.85; margin-bottom:18px; }
.recap-content h2, .recap-content h3{ font-family:'Playfair Display', serif; font-style:italic; margin:24px 0 10px; }
.recap-content img{ width:100%; height:auto; margin:16px 0; }

/* ---------- popup: upcoming (tabbed: Το Retreat / Πρόγραμμα / Δήλωσε Ενδιαφέρον) ---------- */
.flow-tabbed-panel{ width:100%; max-width:900px; max-height:90vh; overflow-y:auto; background:var(--ink); color:var(--paper); }
.flow-inner-tabs{
  display:flex; gap:8px; padding:24px var(--edge-gap) 14px; position:sticky; top:0; z-index:2;
  background:var(--ink); border-bottom:1px solid rgba(239,234,224,.15);
}
.flow-inner-tab{
  padding:9px 16px; font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--mist);
  border-bottom:2px solid transparent; cursor:pointer; transition:color .3s ease, border-color .3s ease;
}
.flow-inner-tab.active{ color:var(--paper); border-color:var(--ember); }
.flow-pane{ display:none; }
.flow-pane.active{ display:block; }
.flow-pane-cover{ width:100%; max-height:60vh; overflow:hidden; background:#0f0d0b; }
.flow-pane-cover img{ width:100%; height:100%; object-fit:contain; }
.flow-pane-body{ padding:30px var(--edge-gap) 60px; max-width:720px; margin:0 auto; }
.flow-pane-body .rtitle{ font-family:'Playfair Display', serif; font-style:italic; font-size:26px; color:var(--paper); margin-bottom:6px; }
.flow-pane-body .rmeta{ font-size:12px; color:var(--mist); margin-bottom:22px; }
.flow-pane-body .recap-content p{ color:#cdc6b6; }
.flow-schedule-wrap{ position:relative; }
.flow-schedule-track{
  display:flex; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory;
  scrollbar-width:none; -ms-overflow-style:none; padding:2px;
}
.flow-schedule-track::-webkit-scrollbar{ display:none; }
.flow-schedule-track.dragging{ scroll-snap-type:none; cursor:grabbing; user-select:none; }
.flow-schedule-track img{
  flex:0 0 auto; width:72%; max-width:520px; height:auto; display:block;
  scroll-snap-align:start; pointer-events:none;
}
.unspoken-flow-arrow.schedule-prev{ left:-6px; top:50%; }
.unspoken-flow-arrow.schedule-next{ right:-6px; top:50%; }
@media (max-width:760px){
  .flow-schedule-track img{ width:88%; }
  .unspoken-flow-arrow.schedule-prev, .unspoken-flow-arrow.schedule-next{ display:none; }
}
