/* designer.gr
   White page, ink, greys, one orange in small doses. Commissioner. A floating pill for the header, white cards.
   Home: the 3D stack (transparent canvas on a bright «photo studio» backdrop); each solution is a chapter in which its plate opens.
   Smooth first: in the scroll path only transform / opacity change; no backdrop-filter, no grain, no gradients that move. */
:root {
  --bg: #ffffff; --paper: #f5f6f8; --ink: #0f1222; --ink-2: #4a5068; --ink-3: #868ca3; --line: rgba(15, 18, 34, .09);
  --accent: #ff5a1f; --accent-soft: rgba(255, 90, 31, .12); --accent-ink: #ffffff;
  --glass: rgba(255, 255, 255, .62); --glass-edge: rgba(255, 255, 255, .9);
  --shadow: 0 1px 2px rgba(30, 40, 90, .05), 0 18px 50px -18px rgba(30, 40, 90, .22);
  --font: "Commissioner", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: clamp(16px, 4.5vw, 72px); --head: 72px; --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--head); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--font); overflow-x: clip; }
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
[tabindex="-1"]:focus { outline: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; gap: 0; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 90; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 10px; }
.glass { background: var(--glass); border: 1px solid var(--glass-edge); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), var(--shadow); }

/* header */
/* header: a floating pill (~860px) in the middle; a little smaller once the page moves (html.scrolled, common.js) */
.top { position: fixed; z-index: 40; top: 14px; left: 50%; transform: translateX(-50%); width: min(860px, calc(100% - 24px)); height: 58px; display: flex; align-items: center; gap: 6px; padding: 0 8px 0 26px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); border: 1px solid rgba(15, 18, 34, .06); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(15, 18, 34, .04), 0 22px 50px -30px rgba(30, 40, 90, .38);
  transition: height .4s var(--ease), top .4s var(--ease), box-shadow .4s; }
.top > .nav { flex: 1 1 auto; min-width: 0; justify-content: flex-end; margin-right: 6px; }
.top > span:empty { display: none; }
html.scrolled .top { height: 52px; top: 10px; box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(30, 40, 90, .08), 0 12px 30px -14px rgba(30, 40, 90, .34); }
.logo { display: inline-flex; align-items: center; font-weight: 800; font-size: 25px; letter-spacing: -.045em; line-height: 1; text-decoration: none; color: var(--ink); }
.logo span { color: var(--accent); }
.nav { display: flex; justify-content: center; gap: 2px; }
.nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover { color: var(--ink); background: var(--paper); }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .6); cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.lang span { padding: 3px 9px; border-radius: 999px; }
.lang .on { background: var(--ink); color: #fff; }
.pill, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; text-decoration: none; font-weight: 700; cursor: pointer; border: 0; transition: transform .2s var(--ease); }
.pill { min-height: 42px; padding: 0 18px; font-size: 14.5px; background: linear-gradient(180deg, #1c2036, #0f1222); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); color: #fff; white-space: nowrap; gap: 0; transition: transform .2s var(--ease), min-height .4s var(--ease); }
html.scrolled .top .pill { min-height: 38px; }
.pill:hover, .btn:hover { transform: translateY(-1px); }
.btn { min-height: 52px; padding: 0 26px; font-size: 16px; color: var(--accent-ink); background: linear-gradient(180deg, #ff6b33, #ff5115);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 1px 2px rgba(200, 60, 10, .3), 0 14px 30px -14px rgba(255, 90, 31, .85); }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(15, 18, 34, .08), 0 1px 2px rgba(15, 18, 34, .06), 0 10px 24px -16px rgba(15, 18, 34, .3); }

/* stage + chapters (hero v2): one full-viewport canvas sits behind the text on every screen; the page tells the scene
   in which part of it the 3D should sit (setFrame). One continuous background behind text and 3D. */
.layers { position: relative; background: #f8f8f7; --bg: #f7f7f5; --paper: #eff0f2; --ink-2: #4b5167; --ink-3: #9096aa; --line: rgba(15, 18, 34, .07); }
/* the negative margin is on the text, not on the stage: a sticky element's margin box would let it overhang the section below */
/* studio backdrop: a softbox glow behind the stack, a faint warm spill and a floor shade; fixed positions (painted once) */
.stage { position: sticky; top: 0; height: 100svh; margin: 0; overflow: hidden; z-index: 0; pointer-events: none;
  background:
    radial-gradient(32% 38% at 76% 48%, rgba(255, 255, 255, .98), rgba(255, 255, 255, 0) 72%),
    radial-gradient(26% 30% at 82% 42%, rgba(255, 90, 31, .075), transparent 72%),
    radial-gradient(50% 30% at 76% 100%, rgba(174, 180, 196, .22), transparent 70%),
    linear-gradient(180deg, #fff 0%, #f8f8f7 50%, #eff0f2 100%); }
.poster { position: absolute; left: var(--fx, 44%); top: var(--fy, 80px); width: var(--fw, 54%); height: var(--fh, calc(100% - 140px)); display: grid; place-items: center; transition: opacity 1ms linear 360ms; }
/* absolutely inside the frame: "contain" in the frame's own box (an auto grid row would let a square image overflow it) */
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
/* poster → 3D: the canvas fades in over the poster (which stays until the fade is done): no dip, no jump */
.gl { position: absolute; inset: 0; opacity: 0; transition: opacity 340ms linear; }
.gl canvas { display: block; width: 100%; height: 100%; pointer-events: auto; }
.stage.ready .gl { opacity: 1; }
.stage.ready .poster { opacity: 0; }
.tags { position: absolute; inset: 0; pointer-events: none; display: none; transition: opacity .35s var(--ease); }
.stage.ready .tags { display: block; }
.stage.focus .tags { opacity: 0; }
.tags li { position: absolute; left: 0; top: 0; transform: translate(-999px, -999px); padding: 6px 13px; border-radius: 999px; font-weight: 700; font-size: 13.5px; white-space: nowrap;
  background: rgba(255, 255, 255, .94); border: 1px solid rgba(15, 18, 34, .06); box-shadow: 0 1px 2px rgba(15, 18, 34, .05), 0 12px 26px -16px rgba(30, 40, 90, .35); transition: background .3s, color .3s; }
.tags li::before { content: ""; position: absolute; left: -22px; top: 50%; width: 22px; height: 1px; background: rgba(15, 18, 34, .22); }
.tags li.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tags li.on::before { background: var(--accent); }
.track { position: relative; z-index: 1; max-width: 1280px; margin: -100svh auto 0; padding: 0 var(--gut); pointer-events: none; }
.hero, .layer-in, .outro { pointer-events: auto; }

/* hero + layers */
.hero { min-height: 100svh; display: grid; align-content: center; gap: 18px; padding: 110px 0 60px; max-width: min(600px, 42vw); }
.lede2 { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink); font-weight: 700; letter-spacing: -.015em; max-width: 40ch; margin-top: -8px; }
h1 { font-weight: 800; font-size: clamp(38px, 4.2vw, 62px); line-height: .98; letter-spacing: -.045em; }
h1 span { display: block; }
.h1b { color: var(--ink-2); }
/* the hero: a short orange rule over a tighter, lighter H1 */
.hero::before { content: ""; width: 40px; height: 3px; border-radius: 3px; background: var(--accent); }
.hero h1 { font-size: clamp(40px, 4.5vw, 66px); line-height: .95; letter-spacing: -.055em; }
.hero .h1b { font-weight: 600; color: #8d93a7; letter-spacing: -.05em; }
.lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); font-weight: 500; letter-spacing: -.01em; max-width: 46ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
/* the legend: pointing at a solution pulls its plate out of the stack (home.js) and shows the chapter's title */
.legend { display: grid; gap: 2px; margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); max-width: 540px; }
.legend a { position: relative; display: flex; align-items: center; gap: 12px; padding: 7px 8px; border-radius: 12px; text-decoration: none; font-weight: 600; color: #2a2f45; transition: background .25s, box-shadow .25s; }
.legend a:hover, .legend a.on { background: #fff; box-shadow: 0 1px 2px rgba(15, 18, 34, .05), 0 8px 20px -14px rgba(15, 18, 34, .3); }
.ic { width: 22px; height: 24px; fill: #fff; stroke: var(--ink); stroke-width: 1.1; stroke-linejoin: round; transition: stroke .25s; }
.legend a:hover .ic, .legend a.on .ic { stroke: var(--accent); }
.lg-t { position: absolute; right: 12px; top: 50%; max-width: calc(100% - 170px); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; font-weight: 700; color: var(--accent);
  opacity: 0; transform: translate(-8px, -50%); transition: opacity .3s var(--ease), transform .4s var(--ease); pointer-events: none; }
.lg-t::after { content: " →"; }
.legend a.on .lg-t { opacity: 1; transform: translate(0, -50%); }
/* each solution is a chapter: its text stays put while the plate's show plays through the scroll */
.layer { height: 260svh; }
.layer-in { position: sticky; top: 0; height: 100svh; display: grid; align-content: center; max-width: min(520px, 40vw); pointer-events: none; }
.sheet { display: grid; gap: 16px; pointer-events: auto; opacity: .2; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.layer.on .sheet, html:not(.live) .sheet { opacity: 1; transform: none; }
.layer h3, .outro h3 { font-weight: 800; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.02; letter-spacing: -.04em; max-width: 15ch; }
.layer h3 { letter-spacing: -.048em; }
.layer-text { font-size: 18px; color: var(--ink-2); max-width: 40ch; }
.ticks { display: grid; gap: 10px; font-size: 16.5px; color: var(--ink-2); }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: .62em; width: 6px; height: 3.5px; border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.layer-cta { justify-self: start; font-weight: 700; text-decoration: none; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; }
.layer-cta:hover { background: #262b45; }
.outro { min-height: 100svh; display: grid; align-content: center; gap: 18px; padding: 90px 0 60px; max-width: min(560px, 42vw); }
.outro p { font-size: 18px; color: var(--ink-2); max-width: 42ch; }

/* sections after the stack */
.sec { max-width: 1280px; margin: 0 auto; padding: clamp(70px, 9vw, 120px) var(--gut); display: grid; gap: 26px; }
.sec-head { display: grid; gap: 10px; }
.sec h2, .ct-copy h2 { font-weight: 800; font-size: clamp(32px, 4vw, 54px); line-height: 1; letter-spacing: -.04em; }
.sec-head p, .ct-copy p { color: var(--ink-2); max-width: 62ch; font-size: 17px; }
.clients { background: var(--paper); max-width: none; }
.clients > * { width: min(100%, 1180px); margin: 0 auto; }
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); }
.ct-copy { display: grid; gap: 14px; align-content: start; }
.direct { display: grid; gap: 4px; font-weight: 700; font-size: 18px; }
.direct a { text-decoration: none; } .direct a:hover { color: var(--accent); }

/* clients */
.clients, .work { display: grid; gap: 24px; }
.cl-head { display: grid; gap: 10px; }
.cl-head p { color: var(--ink-2); max-width: 62ch; }
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.brand { width: 100%; height: 100%; display: grid; gap: 6px; justify-items: start; align-content: start; text-align: left; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .72); cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.brand:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.brand[aria-expanded="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.no-work .brand { cursor: default; }
.no-work .brand:hover { transform: none; box-shadow: none; }
.b-logo { height: 44px; display: flex; align-items: center; margin-bottom: 6px; }
.b-logo img { height: 36px; max-width: 130px; width: auto; object-fit: contain; object-position: left center; }
.wordmark { font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.b-name { font-weight: 700; font-size: 15px; }
.b-what { font-size: 13px; color: var(--ink-3); line-height: 1.35; }
.b-work { display: grid; gap: 10px; margin-top: 10px; }
.b-work img { border-radius: 14px; }
.live .b-work { display: none; }
.slot { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 14px; border: 1.5px dashed #c9ccd6; color: var(--ink-3); font-size: 14px; font-weight: 600; background: repeating-linear-gradient(135deg, rgba(15, 18, 34, .02) 0 10px, transparent 10px 20px); }
.viewer:empty { display: none; }
.viewer { display: grid; gap: 14px; padding: 18px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.v-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.v-head b { font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.v-head span { color: var(--ink-3); font-size: 14px; }
.v-x { border: 0; background: var(--paper); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; flex: none; }
.v-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
.v-row figure { scroll-snap-align: start; }
.v-row img { border-radius: 14px; width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; background: var(--paper); }
.v-row .slot { aspect-ratio: 16 / 10.5; }

/* projects */
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.proj { display: grid; gap: 14px; align-content: start; padding: 14px; border-radius: 22px; background: rgba(255, 255, 255, .75); border: 1px solid var(--line); }
.proj.big { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; }
.pj-vis { position: relative; aspect-ratio: 16 / 9.5; border-radius: 14px; background: var(--paper); overflow: hidden; }
.pj-note { position: absolute; right: 10px; bottom: 8px; font-size: 11px; font-weight: 600; color: var(--ink-3); background: rgba(255, 255, 255, .8); padding: 2px 8px; border-radius: 999px; }
.pj-txt { display: grid; gap: 6px; padding: 0 6px 6px; }
.pj-tag { font-size: 13px; font-weight: 700; color: var(--accent); }
.proj h3 { font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.proj.big h3 { font-size: clamp(26px, 2.8vw, 36px); }
.pj-desc { color: var(--ink-2); }
.pj-dom { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.pj-mock { position: absolute; inset: 0; }
.m-recrm { display: grid; grid-template-columns: 54px 1fr; background: #fff; }
.mr-side { background: var(--ink); display: grid; align-content: start; gap: 12px; padding: 16px 13px; }
.mr-side i { height: 28px; border-radius: 8px; background: rgba(255, 255, 255, .12); } .mr-side i.o { background: var(--accent); }
.mr-main { display: grid; grid-template-rows: auto 1fr; gap: 12px; padding: 16px; }
.mr-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mr-kpis b { height: 54px; border-radius: 12px; background: var(--paper); } .mr-kpis b.o { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent); }
.mr-map { position: relative; border-radius: 12px; background: linear-gradient(#eef0f5, #e6e9f0); overflow: hidden; }
.mr-map::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255, 255, 255, .7) 1px, transparent 1px) 0 0 / 100% 26px, linear-gradient(90deg, rgba(255, 255, 255, .7) 1px, transparent 1px) 0 0 / 34px 100%; }
.mr-map i { position: absolute; left: var(--x); top: var(--y); width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--ink); }
.mr-map i.o { background: var(--accent); }
.m-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; padding: 12px; background: #fff; }
.m-grid i { border-radius: 10px; background: linear-gradient(160deg, #eef0f5, #dfe2ea); }
.m-grid i.sea { grid-row: span 2; background: linear-gradient(180deg, #cfe0ef 0 45%, #9fbcd6 45% 62%, #e9dcc7 62%); }
.m-video { background: #0f1222; display: grid; place-items: center; }
.m-video .play { width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); position: relative; }
.m-video .play::after { content: ""; position: absolute; left: 26px; top: 20px; border: 12px solid transparent; border-left: 18px solid #fff; }
.m-video .tl { position: absolute; left: 18px; right: 18px; bottom: 18px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .2); }
.m-video .tl b { display: block; width: 38%; height: 100%; border-radius: 2px; background: var(--accent); }
.m-cms { background: #fff; display: grid; align-content: start; gap: 10px; padding: 14px 18px; }
.m-cms .cbar { display: flex; gap: 6px; padding: 0 0 6px; }
.m-cms .cbar i { width: 8px; height: 8px; border-radius: 50%; background: #d9dbe3; }
.m-cms b { height: 10px; border-radius: 5px; background: #e3e5ec; width: 72%; } .m-cms b.t { height: 18px; width: 50%; background: var(--ink); } .m-cms b.s { width: 44%; }
.m-cms .blk { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.m-cms .blk i { height: 64px; border-radius: 10px; background: var(--paper); } .m-cms .blk i.o { background: var(--accent-soft); }

form#brief { display: grid; gap: 16px; }
legend { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
fieldset { border: 0; min-width: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { position: relative; }
.checks input { position: absolute; inset: 0; opacity: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.checks span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 14.5px; transition: background .2s, box-shadow .2s; }
.checks input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.checks input:focus-visible + span { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 14.5px; }
.field input, .field textarea { border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 12px 14px; min-height: 48px; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.send { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.send .btn { min-height: 50px; }
.status[data-state="ok"] { color: #12804f; font-weight: 600; }
.status[data-state="error"] { color: #c0392b; font-weight: 600; }


.brand { background: #fff; }
@media (max-width: 900px) {
  .nav { display: none; }
  /* phones: the pill is logo · Ξεκίνα · ☰ */
  .top .logo { font-size: 23px; margin-right: auto; }
  .top { width: calc(100% - 20px); top: 10px; height: 56px; padding: 0 6px 0 20px; }
  html.scrolled .top { height: 50px; top: 8px; }
  .top .menu-btn { border-color: transparent; background: var(--paper); }
  .pill { padding: 0 16px; font-size: 13.5px; }
  .contact, .two, .proj.big { grid-template-columns: 1fr; }
  .projects { grid-template-columns: 1fr; }
  .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .brand { padding: 12px; }
  .b-logo { height: 34px; } .b-logo img { height: 28px; max-width: 110px; }
  .wordmark { font-size: 18px; }
  .v-row { grid-auto-columns: 86%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* square client logos that come with their own background (Elias, Factory Outlet) */
.b-logo.sq { height: 60px; margin: -8px 0 -2px; }
.b-logo.sq img { height: 60px; width: 60px; object-fit: cover; border-radius: 10px; mix-blend-mode: multiply; }
/* our upcoming products: name only, no logo yet */
.pj-word { display: grid; place-items: center; background: linear-gradient(160deg, #fff, var(--paper)); }
.pj-word span { font-weight: 800; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.045em; color: var(--ink); }
.pj-word span::after { content: "."; color: var(--accent); }
.proj.small .pj-vis { aspect-ratio: 16 / 6; }


/* ---------- "I'm interested in…" ---------- */
.want { justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 16px; border-radius: 999px; border: 1px solid rgba(15, 18, 34, .18); box-shadow: 0 1px 2px rgba(15, 18, 34, .05); background: #fff; color: var(--ink); font-weight: 700; font-size: 15.5px; cursor: pointer; transition: background .25s var(--ease), color .25s, border-color .25s, transform .2s var(--ease); }
.want svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; transition: transform .3s var(--ease); }
.want:hover { transform: translateY(-1px); }
.want .w-on { display: none; }
.want[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.want[aria-pressed="true"] svg { transform: rotate(45deg); color: var(--accent); }
.want[aria-pressed="true"] .w-on { display: inline; }
.want[aria-pressed="true"] .w-off { display: none; }
.picked { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); font-weight: 700; font-size: 13.5px; text-decoration: none; white-space: nowrap; gap: 0; }
.picked[hidden] { display: none; }
.picked-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12.5px; }
.picked.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.12); } }
.ctas .btn.ghost, .more-wrap .btn.ghost { display: inline-flex; }
.more-wrap { display: flex; justify-content: center; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic { stroke-width: 1; }

/* ---------- clients ---------- */
.b-logo.tall { height: 64px; margin: -10px 0 -6px; }
.b-logo.tall img { height: 64px; }
.b-logo.sq { height: 60px; margin: -8px 0 -2px; }
.b-logo.sq img { height: 60px; width: 60px; object-fit: cover; border-radius: 10px; mix-blend-mode: multiply; }
.brand.ghost { display: grid; place-items: center; min-height: 100%; border: 1.5px dashed rgba(15, 18, 34, .16); background: transparent; color: var(--ink-3); cursor: default; }
.brand.ghost:hover { transform: none; box-shadow: none; }
.brand.ghost .b-name { color: var(--ink-3); font-weight: 600; }

/* ---------- best work + projects ---------- */
.best { gap: 30px; }
.best-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.proj { display: grid; gap: 14px; align-content: start; padding: 14px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.pj-vis { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 14px; background: var(--paper); overflow: hidden; border: 0; padding: 0; text-align: left; }
button.pj-vis { cursor: zoom-in; }
.pj-vis > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
button.pj-vis:hover > img { transform: scale(1.03); }
.pj-count { position: absolute; right: 10px; top: 10px; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .9); padding: 3px 9px; border-radius: 999px; }
.pj-count::before { content: "▦ "; color: var(--accent); }
.pj-txt { display: grid; gap: 6px; padding: 0 6px 6px; }
.pj-link { justify-self: start; font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--accent); }
.proj .slot, .pj-vis > .slot { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-3); font-weight: 600; font-size: 14px; border: 1.5px dashed #c9ccd6; border-radius: 14px; aspect-ratio: auto; }
.proj.big h3 { font-size: clamp(26px, 2.6vw, 34px); }
/* our own products: brand panels */
.bv { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 18px; padding: 26px; }
.bv-logo { width: 100%; max-width: 190px; height: auto; justify-self: center; }
.bv-openotion { background: linear-gradient(150deg, #eef5ff, #ffffff 60%); }
.oo-app { display: grid; grid-template-columns: 34px 1fr; height: 100%; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px -20px rgba(2, 112, 235, .45); }
.oo-side { background: #0270eb; display: grid; align-content: start; gap: 9px; padding: 12px 8px; }
.oo-side i { height: 18px; border-radius: 6px; background: rgba(255, 255, 255, .25); } .oo-side i.on { background: #fff; }
.oo-main { display: grid; grid-template-rows: auto 1fr; gap: 8px; padding: 10px; }
.oo-head { display: flex; gap: 8px; align-items: center; } .oo-head b { height: 10px; width: 40%; border-radius: 5px; background: #0f1222; } .oo-head span { height: 10px; width: 20%; border-radius: 5px; background: #d9e6fb; margin-left: auto; }
.oo-cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.oo-cal i { border-radius: 5px; background: #f1f4f9; min-height: 14px; } .oo-cal i.bk { background: #0270eb; } .oo-cal i.b2 { background: #ff5a1f; }
.bv-openly { background: linear-gradient(150deg, #f1f4ff, #ffffff 60%); }
.ol-phone { position: relative; justify-self: center; width: 62%; aspect-ratio: 9 / 17; border-radius: 22px; background: #fff; overflow: hidden; box-shadow: 0 0 0 6px #12151c, 0 24px 40px -20px rgba(31, 90, 246, .5); }
.ol-phone > img { width: 100%; height: 48%; object-fit: cover; }
.ol-sheet { display: grid; gap: 7px; padding: 10px; }
.ol-sheet b { height: 10px; width: 60%; border-radius: 5px; background: #12151c; } .ol-sheet span { height: 8px; width: 80%; border-radius: 4px; background: #e6e8ee; }
.ol-sheet em { font-style: normal; justify-self: start; margin-top: 4px; font-size: 10px; font-weight: 700; color: #fff; background: #1f5af6; padding: 4px 10px; border-radius: 999px; }
/* gallery */
.gallery { width: min(1100px, calc(100vw - 24px)); max-height: calc(100svh - 24px); border: 0; border-radius: 22px; padding: 18px; box-shadow: 0 40px 100px -30px rgba(15, 18, 34, .5); }
html:has(dialog[open]) { overflow: hidden; }   /* the page stays put under an open gallery (touch too) */
.gallery::backdrop { background: rgba(15, 18, 34, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.g-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.g-head b { font-weight: 800; font-size: 20px; } .g-head span { color: var(--ink-3); }
.g-row { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; }
.g-row figure { scroll-snap-align: start; } .g-row img { width: 100%; max-height: calc(100svh - 120px); object-fit: contain; border-radius: 14px; background: var(--paper); }

/* ---------- the work page ---------- */
.page-head { max-width: 1280px; margin: 0 auto; padding: 130px var(--gut) 10px; display: grid; gap: 14px; }
.page-head h1 { font-size: clamp(40px, 5vw, 72px); }
.page-head p { color: var(--ink-2); font-size: 18px; max-width: 56ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14.5px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.work-grid .proj[hidden] { display: none; }
.wip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

@media (max-width: 1100px) { .work-grid, .wip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) and (min-width: 901px) { .top .picked span:last-child { display: none; } }
@media (max-width: 900px) {
  .picked { padding: 6px 10px; font-size: 12.5px; }
  .picked span:last-child { display: none; }
  .best-list, .work-grid, .wip-grid { grid-template-columns: 1fr; }
  .bv { padding: 16px; gap: 10px; }
  .want { font-size: 14.5px; }
  .page-head { padding-top: 96px; }
}
.best-list .proj.big { grid-column: auto; grid-template-columns: 1fr; }
.pj-vis > .pj-word { position: absolute; inset: 0; }
.work-page .sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 14px; }
.outro-cta { text-align: center; justify-items: center; }
.nav a[aria-current="page"] { color: var(--ink); }
@media (max-width: 460px) { .pill .pill-x { display: none; } }


/* ---------- touch: every control at least 44px tall ---------- */
@media (pointer: coarse) {
  .logo { display: inline-flex; align-items: center; min-height: 44px; }
  .lang { min-height: 44px; align-items: center; }
  .pill, .picked, html.scrolled .top .pill { min-height: 44px; }
  .nav a, .pj-link { min-height: 44px; display: inline-flex; align-items: center; }
  .direct a { min-height: 44px; display: flex; align-items: center; }
  .checks span, .filters button { min-height: 44px; }
  .want { min-height: 52px; padding-right: 22px; }
  .v-x { width: 44px; height: 44px; }
}

/* ---------- phones (portrait): hero text on top and the stack under it; each chapter's text is a glass card
   at the bottom and the plate's show plays above it ---------- */
@media (max-width: 900px) and (orientation: portrait) {
  .hero { max-width: none; min-height: 100svh; align-content: start; padding: 92px 0 0; gap: 14px; }
  /* the legend comes back as 2×3 chips under the H1: tap = jump to the step */
  .legend { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; border: 0; max-width: none; order: 1; }
  .hero > .lede, .hero > .lede2, .hero > .ctas { order: 2; }
  .legend a { justify-content: center; min-height: 44px; padding: 0 6px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px rgba(15, 18, 34, .07); font-size: 13.5px; font-weight: 700; text-align: center; line-height: 1.1; }
  .legend .ic, .lg-t { display: none; }
  .hero .lede2, .hero .ctas .btn.ghost { display: none; }   /* the chips lead to the solutions: more room for the stack */
  .layer { height: 220svh; }
  .layer-in { max-width: none; align-content: end; padding: 0 0 calc(max(14px, env(safe-area-inset-bottom, 0px)) + 12px); }
  .sheet { gap: 10px; padding: 18px 18px 16px; border-radius: 26px; background: rgba(255, 255, 255, .95); border: 1px solid rgba(15, 18, 34, .06); box-shadow: 0 1px 2px rgba(15, 18, 34, .05), 0 30px 60px -30px rgba(30, 40, 90, .4); opacity: 0; transform: translateY(24px); }
  .stage { background:
    radial-gradient(70% 34% at 50% 70%, rgba(255, 255, 255, .98), rgba(255, 255, 255, 0) 72%),
    radial-gradient(50% 24% at 62% 64%, rgba(255, 90, 31, .07), transparent 72%),
    radial-gradient(90% 24% at 50% 100%, rgba(174, 180, 196, .22), transparent 70%),
    linear-gradient(180deg, #fff 0%, #f8f8f7 50%, #eff0f2 100%); }
  .layer h3 { font-size: 27px; max-width: none; }
  .layer-text { font-size: 16px; }
  .ticks { gap: 6px; font-size: 15px; }
  .outro { max-width: none; align-content: start; padding: 96px 0 0; }
  .poster { left: var(--fx, 0); top: var(--fy, 52%); width: var(--fw, 100%); height: var(--fh, 44%); }
}
/* phones in landscape: like the desktop, text left and 3D right */
@media (max-width: 900px) and (orientation: landscape) {
  .hero { padding: 80px 0 28px; max-width: 46vw; }
  .layer-in { max-width: 46vw; }
  .outro { max-width: 46vw; }
}

/* ---------- smooth scroll (Lenis, desktop) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- phones: menu button + overlay ---------- */
.menu-btn { display: none; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
/* the menu overlay */
.menu { position: fixed; inset: 0; z-index: 35; background: var(--bg); display: grid; align-content: start; padding: 96px var(--gut) max(24px, env(safe-area-inset-bottom)); overflow: auto; }
.menu[hidden] { display: none; }
.menu nav { max-width: 640px; margin: 0 auto; width: 100%; display: grid; gap: 18px; }
.menu-k { font-size: 13px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.menu-sol { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.menu-sol a { display: flex; align-items: center; min-height: 52px; padding: 0 16px; border-radius: 14px; background: var(--paper); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 17px; }
.menu-main { display: grid; border-top: 1px solid var(--line); }
.menu-main a { display: flex; align-items: center; min-height: 60px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 800; font-size: 26px; letter-spacing: -.03em; }
.menu-cta .btn { width: 100%; }
html.menu-open { overflow: hidden; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
}

/* ---------- loader: the first visit only (session), short, skipped with reduced motion ---------- */
.loader { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: #f7f7f5; transition: opacity .45s var(--ease), visibility .45s; }
.loader.out, html.seen .loader, html:not(.js) .loader { opacity: 0; visibility: hidden; pointer-events: none; }
.ld { position: relative; display: grid; justify-items: center; }
.ld .logo { margin-top: 52px; opacity: 0; animation: ld-in .5s .6s var(--ease) forwards; }
/* three isometric plates drop onto each other: the stack, in miniature */
.ld-p { display: block; width: 58px; height: 58px; border-radius: 10px; margin-bottom: -38px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(15, 18, 34, .18), 0 6px 0 -1px #dfe2ea;
  transform: rotateX(58deg) rotateZ(45deg); opacity: 0; animation: ld-p .55s var(--ease) forwards; }
.ld-p:nth-child(1) { animation-delay: .24s; background: var(--accent); box-shadow: 0 6px 0 -1px #cf410c; }
.ld-p:nth-child(2) { animation-delay: .12s; background: var(--ink); box-shadow: 0 6px 0 -1px #05070f; }
.ld-p:nth-child(3) { animation-delay: 0s; }
@keyframes ld-p { from { opacity: 0; transform: translateY(-34px) rotateX(58deg) rotateZ(45deg); } to { opacity: 1; transform: translateY(0) rotateX(58deg) rotateZ(45deg); } }
@keyframes ld-in { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .loader { display: none; } }

/* ---------- contact: a teaser on the home, the form on its own page ---------- */
.ct-go { justify-self: start; margin-top: 6px; }
.contact-page .contact { min-height: 100svh; padding-top: clamp(110px, 13vw, 160px); align-items: start; }
.contact-page .ct-copy h1 { font-weight: 800; font-size: clamp(36px, 4.4vw, 60px); line-height: 1; letter-spacing: -.045em; }

/* ---------- phones: a sticky «Ξεκίνα ένα project», only when no other call to action shows (never in the six steps) ---------- */
.sticky-cta { display: none; }
@media (max-width: 900px) {
  .sticky-cta { position: fixed; z-index: 30; right: max(12px, env(safe-area-inset-right, 0px)); bottom: max(12px, env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px;
    background: linear-gradient(180deg, #ff6b33, #ff5115); color: #fff; font-weight: 700; font-size: 15.5px; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 14px 30px -12px rgba(255, 90, 31, .75);
    transform: translateY(140%); opacity: 0; transition: transform .45s var(--ease), opacity .3s; pointer-events: none; }
  .sticky-cta.on { transform: none; opacity: 1; pointer-events: auto; }
  .sticky-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
}

/* ---------- solution pages: the quiet link in each chapter card, and the arrow next to each solution in the phone menu ---------- */
.sol-link { justify-self: start; display: inline-block; padding: 2px 0; margin-top: -4px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); text-decoration: underline; text-decoration-color: rgba(15, 18, 34, .18); text-decoration-thickness: 1.5px; text-underline-offset: 5px; transition: color .2s, text-decoration-color .2s; }
.sol-link span { display: inline-block; margin-left: 4px; transition: transform .3s var(--ease); }   /* inline-block: the underline stops before the arrow */
.sol-link:hover { color: var(--ink); text-decoration-color: var(--accent); }
.sol-link:hover span { transform: translateX(3px); }
.menu-sol li { display: flex; min-width: 0; border-radius: 14px; background: var(--paper); }
.menu-sol li > a:first-child { flex: 1 1 auto; min-width: 0; background: none; line-height: 1.15; }
.menu-sol a[aria-current="page"] { color: var(--accent); }
.menu-sol .ms-go { flex: none; display: grid; place-items: center; width: 46px; padding: 0; border-radius: 0 14px 14px 0; border-left: 1px solid rgba(15, 18, 34, .08); text-decoration: none; font-weight: 700; color: var(--ink-3); }
@media (pointer: coarse) { .sol-link { padding: 11px 0; margin: -12px 0 -10px; } }
@media (max-width: 900px) and (orientation: portrait) { .sol-link { font-size: 14px; } }

/* ---------- the home FAQ: quiet, a plain list of <details> right before the contact block ---------- */
.sec.faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(14px, 4vw, 64px); padding-block: clamp(40px, 6vw, 80px) 0; }
.sec.faq h2 { font-size: 13px; line-height: 1.4; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding-top: 16px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 12px 2px; list-style: none; cursor: pointer; font-weight: 600; font-size: 16px; line-height: 1.35; color: var(--ink-2); transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline-offset: 0; border-radius: 8px; }
.faq summary::after { content: "+"; flex: none; width: 20px; text-align: center; font-weight: 500; font-size: 20px; line-height: 1; color: var(--ink-3); transition: transform .3s var(--ease), color .2s; }
.faq summary:hover, .faq details[open] summary { color: var(--ink); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq details p { padding: 0 36px 18px 2px; color: var(--ink-2); font-size: 15px; max-width: 64ch; }
@media (max-width: 900px) { .sec.faq { grid-template-columns: 1fr; } .sec.faq h2 { padding-top: 0; } }

/* Openotion: νέο logo (το τετράγωνο του favicon) */
.bv-openotion .bv-logo { max-width: 76px; border-radius: 16px; }
/* Αρχική: η επικοινωνία χωρίς email/τηλέφωνο, σε μία κεντραρισμένη στήλη */
.contact:has(> .ct-copy:only-child) { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.contact:has(> .ct-copy:only-child) .ct-copy { justify-items: center; max-width: 760px; }
.contact:has(> .ct-copy:only-child) .ct-go { justify-self: center; justify-content: center; }
