@font-face{font-family:'Syne';font-style:normal;font-weight:500 800;font-display:swap;src:url(/assets/fonts/syne-normal-greek.woff2) format('woff2');unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF}
@font-face{font-family:'Syne';font-style:normal;font-weight:500 800;font-display:swap;src:url(/assets/fonts/syne-normal-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Sofia Sans';font-style:normal;font-weight:300 800;font-display:swap;src:url(/assets/fonts/sofia-sans-normal-greek.woff2) format('woff2');unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF}
@font-face{font-family:'Sofia Sans';font-style:normal;font-weight:300 800;font-display:swap;src:url(/assets/fonts/sofia-sans-normal-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Onest';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/onest-normal-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Onest';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/onest-normal-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* ==========================================================================
   KM Books and Records Services CY
   Syne (display) + Sofia Sans (text). Navy / electric blue, scroll-driven motion.
   Every animated state is gated behind `.js` so the site works without JavaScript,
   and behind prefers-reduced-motion so it is calm for people who ask for that.
   ========================================================================== */

:root {
  --ink: #071324;
  --navy: #0b1e3a;
  --navy-2: #12305a;
  --blue: #2f6feb;
  --blue-2: #1d56c9;
  --blue-light: #8db4ff;
  --sky: #e8f0ff;
  --bg: #f4f7fc;
  --white: #fff;
  --text: #1a2a42;
  --muted: #586a85;
  --line: #dbe3f0;
  --line-d: rgba(255, 255, 255, 0.14);
  --amber: #ffb547;

  --display: 'Syne', 'Noto Sans Display', system-ui, sans-serif;
  --sans: 'Sofia Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --wrap: 1280px;
  --gut: clamp(20px, 4.5vw, 64px);
  --hdr: 84px;
  --r: 24px;
}

/* Russian: Syne has no Cyrillic and Sofia Sans only Bulgarian-style forms, so Onest carries both roles */
html[lang='ru'], [lang='ru'] { --display: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; --sans: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
[lang='ru'] { font-family: var(--sans); }
html[lang='ru'] { hyphens: auto; overflow-wrap: break-word; }
html[lang='ru'] h1, html[lang='ru'] h2, html[lang='ru'] h3, html[lang='ru'] .lead, html[lang='ru'] .statement__text, html[lang='ru'] .about__lead, html[lang='ru'] .kicker { hyphens: manual; }
.hero__call a { white-space: nowrap; }
.brand__t b { font-family: 'Syne', var(--display); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; color-scheme: light; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 clamp(17px, 0.25vw + 16px, 19px) / 1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: fixed; left: 16px; top: -60px; z-index: 500; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 999px; transition: top 0.2s; }
.skip:focus { top: 14px; }

/* type -------------------------------------------------------------------- */
.display { font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; color: var(--ink); }
.h3 { font-size: clamp(1.5rem, 1.6vw + 1rem, 2.2rem); }
.lead { font-size: clamp(1.1rem, 0.5vw + 1rem, 1.35rem); line-height: 1.6; color: var(--muted); max-width: 54ch; text-wrap: pretty; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font: 700 15px/1.3 var(--sans); letter-spacing: 0.02em; color: var(--blue); }
.kicker::before { content: ''; width: 30px; height: 2px; background: currentColor; transform-origin: left; }
.js .kicker::before { transform: scaleX(0); transition: transform 0.9s var(--ease) 0.2s; }
.js .kicker.in::before, .js.is-ready .kicker[data-enter]::before { transform: none; }
.crumb { display: inline-flex; gap: 12px; align-items: center; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, 0.7); }
.crumb a { text-decoration: none; color: #fff; }
.crumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.lead--sub { font-size: 1rem; }

/* buttons & links --------------------------------------------------------- */
.btn {
  --bg: var(--blue); --fg: #fff; --sweep: var(--navy);
  position: relative; isolation: isolate; overflow: hidden; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 28px; border-radius: 999px;
  border: 1.5px solid var(--bg); background: var(--bg); color: var(--fg); text-decoration: none;
  font: 700 16px/1.1 var(--sans); letter-spacing: 0.01em; white-space: nowrap;
  transition: color 0.35s, border-color 0.35s, transform 0.4s var(--ease);
}
.btn::before { content: ''; position: absolute; left: -10%; right: -10%; top: 0; height: 160%; z-index: -1; background: var(--sweep); border-radius: 50%; transform: translateY(105%); transition: transform 0.6s var(--ease), border-radius 0.6s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(-20%); border-radius: 0; }
.btn .ico { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--light { --bg: #fff; --fg: var(--navy); --sweep: var(--blue); }
.btn--light:hover { color: #fff; border-color: var(--blue); }
.btn--ghost { --bg: transparent; --fg: var(--navy); --sweep: var(--navy); border-color: var(--line); }
.btn--ghost:hover { color: #fff; border-color: var(--navy); }
.btn--ghost-light { --bg: transparent; --fg: #fff; --sweep: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn--ghost-light:hover { color: var(--navy); border-color: #fff; }
.btn--sm { padding: 12px 20px; font-size: 15px; }
.textlink { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding-bottom: 4px; transition: background-size 0.5s var(--ease); }
.textlink:hover { background-size: 100% 2px; }
.textlink .ico { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.textlink:hover .ico { transform: translateX(5px); }
.ico { width: 20px; height: 20px; flex: none; }

/* intro curtain ------------------------------------------------------------ */
.curtain { --logo-m: #dfe8f7; position: fixed; inset: 0; z-index: 400; display: none; place-items: center; background: var(--navy); animation: curtainFail 0s 3.4s forwards; }
.intro .curtain { display: grid; }
.curtain.is-out { transform: translateY(-100%); transition: transform 1s var(--ease-io); }
.curtain__logo { width: clamp(120px, 17vw, 190px); height: auto; overflow: visible; }
.curtain__logo .logo__k, .curtain__logo .logo__m { animation: logoIn 0.9s var(--ease) 0.1s backwards; }
.curtain__logo .logo__bars path { transform-box: fill-box; transform-origin: bottom; animation: barUp 1s var(--ease) backwards; }
.curtain__logo .b1 { animation-delay: 0.35s; } .curtain__logo .b2 { animation-delay: 0.5s; } .curtain__logo .b3 { animation-delay: 0.65s; }
@keyframes logoIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes barUp { from { transform: scaleY(0); } }
@keyframes curtainFail { to { visibility: hidden; pointer-events: none; } }

/* header ------------------------------------------------------------------ */
.hdr { --logo-m: #dfe8f7; position: fixed; inset: 0 0 auto 0; z-index: 100; color: #fff; transition: transform 0.6s var(--ease), background 0.4s, box-shadow 0.4s, color 0.3s; }
.hdr.is-solid { --logo-m: #434b53; color: var(--ink); background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 var(--line); }
.hdr.is-hidden { transform: translateY(-101%); }
.hdr__bar { display: flex; align-items: center; gap: 24px; height: var(--hdr); }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
.hdr.is-solid .progress { opacity: 1; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--blue-light)); transform-origin: left; transform: scaleX(var(--p, 0)); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.logo { height: 30px; width: auto; flex: none; overflow: visible; }
.logo__k, .logo__bars path { fill: #5b8ff0; stroke: #5b8ff0; transition: fill 0.3s, stroke 0.3s; }
.hdr.is-solid .logo__k, .hdr.is-solid .logo__bars path { fill: #4973aa; stroke: #4973aa; }
.logo__m { fill: var(--logo-m, #434b53); stroke: var(--logo-m, #434b53); transition: fill 0.3s, stroke 0.3s; }
.logo__bars path { transform-box: fill-box; transform-origin: bottom; }
.brand:hover .logo__bars path { animation: bounceBar 0.7s var(--ease); }
.brand:hover .logo__bars .b2 { animation-delay: 0.08s; } .brand:hover .logo__bars .b3 { animation-delay: 0.16s; }
@keyframes bounceBar { 0%, 100% { transform: scaleY(1); } 40% { transform: scaleY(0.4); } }
.brand__t { display: flex; flex-direction: column; line-height: 1.15; }
.brand__t b { font: 800 15px var(--display); letter-spacing: -0.02em; }
.brand__t span { font-size: 13px; opacity: 0.7; font-weight: 500; }

.nav { position: relative; display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .nav__btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border: 0; border-radius: 999px; background: none; cursor: pointer; text-decoration: none; font: 700 16px/1 var(--sans); color: inherit; }
.nav__hl { position: absolute; top: 50%; left: 0; width: var(--w, 0); height: 40px; margin-top: -20px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); transform: translateX(var(--x, 0)); opacity: 0; transition: transform 0.45s var(--ease), width 0.45s var(--ease), opacity 0.25s, background 0.3s; pointer-events: none; }
.hdr.is-solid .nav__hl { background: var(--sky); }
.nav.is-hl .nav__hl { opacity: 1; }
.nav > a[aria-current='page']::after, .nav__btn[data-current]::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--amber); }
.nav__btn .ico { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.nav__sub { position: relative; }
.nav__sub:hover .nav__btn .ico, .nav__sub.open .nav__btn .ico { transform: rotate(180deg); }
.nav__panel { position: absolute; top: 100%; left: 50%; width: 360px; margin: 8px 0 0 -180px; padding: 8px; background: #fff; color: var(--ink); border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(7, 19, 36, 0.35); opacity: 0; visibility: hidden; transform: translateY(10px) scale(0.98); transform-origin: 50% 0; transition: opacity 0.25s, transform 0.4s var(--ease), visibility 0.25s; }
.nav__panel::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__sub:hover .nav__panel, .nav__sub:focus-within .nav__panel, .nav__sub.open .nav__panel { opacity: 1; visibility: visible; transform: none; }
.nav__panel a { position: relative; display: grid; gap: 2px; padding: 14px 48px 14px 16px; border-radius: 16px; text-decoration: none; transition: background 0.25s; }
.nav__panel a:hover, .nav__panel a:focus-visible { background: var(--sky); }
.nav__panel b { font: 700 16px var(--display); letter-spacing: -0.02em; }
.nav__panel small { font-size: 14.5px; color: var(--muted); line-height: 1.35; }
.nav__panel .ico { position: absolute; right: 16px; top: 50%; margin-top: -9px; width: 18px; height: 18px; color: var(--blue); transition: transform 0.35s var(--ease); }
.nav__panel a:hover .ico { transform: translate(3px, -3px); }

.hdr__end { display: flex; align-items: center; gap: 12px; }
.hdr__tel { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; white-space: nowrap; }
.hdr__tel .ico { width: 18px; height: 18px; color: var(--blue-light); }
.hdr.is-solid .hdr__tel .ico { color: var(--blue); }
.langs { display: inline-flex; align-items: center; height: 40px; padding: 3px; border: 1.5px solid currentColor; border-radius: 999px; font: 800 12.5px/1 var(--sans); letter-spacing: 0.04em; }
.langs a, .langs span { display: grid; place-items: center; height: 100%; min-width: 32px; padding-inline: 7px; border-radius: 999px; text-decoration: none; transition: background 0.3s, color 0.3s; }
.langs a { opacity: 0.85; }
.hdr .langs a:hover { opacity: 1; background: rgba(255, 255, 255, 0.2); }
.hdr.is-solid .langs a:hover { background: var(--sky); }
.langs [aria-current] { background: #fff; color: var(--navy); }
.hdr.is-solid .langs [aria-current] { background: var(--navy); color: #fff; }
.hdr__cta { --bg: #fff; --fg: var(--navy); --sweep: var(--blue); }
.hdr__cta:hover { color: #fff; border-color: var(--blue); }
.hdr.is-solid .hdr__cta { --bg: var(--navy); --fg: #fff; --sweep: var(--blue); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid currentColor; background: none; cursor: pointer; place-items: center; }
.burger .ico:last-child { display: none; }
.burger[aria-expanded='true'] .ico:first-child { display: none; }
.burger[aria-expanded='true'] .ico:last-child { display: block; }

.menu { position: fixed; inset: 0; z-index: 90; padding: calc(var(--hdr) + 24px) var(--gut) 32px; background: var(--navy); color: #fff; display: flex; flex-direction: column; justify-content: space-between; clip-path: circle(0% at calc(100% - 44px) 42px); transition: clip-path 0.8s var(--ease-io); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 42px); }
.menu nav { display: grid; }
.menu nav a { display: block; overflow: hidden; border-bottom: 1px solid var(--line-d); text-decoration: none; padding: 14px 0; }
.menu nav a span { display: block; font: 700 clamp(2rem, 9vw, 3.2rem) / 1.1 var(--display); letter-spacing: -0.04em; transform: translateY(110%); transition: transform 0.8s var(--ease) calc(0.25s + var(--i) * 0.07s); }
.menu.is-open nav a span { transform: none; }
.menu__foot { display: flex; justify-content: space-between; gap: 16px; padding-top: 28px; font-weight: 700; }
.menu__foot { flex-wrap: wrap; align-items: center; }
.menu__foot a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.menu__langs { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.menu__langs a, .menu__langs span { padding-bottom: 2px; }
.menu__langs span { color: var(--blue-light); border-bottom: 2px solid var(--amber); }
.menu-open { overflow: hidden; }
.menu-open .hdr { color: #fff; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; --logo-m: #dfe8f7; }
.menu-open .hdr .logo__k, .menu-open .hdr .logo__bars path { fill: #5b8ff0; stroke: #5b8ff0; }

/* split text + reveal primitives ------------------------------------------- */
.js [data-split]:not(.is-split) { opacity: 0; animation: showFail 0s 2.2s forwards; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.12em 0.04em; margin: -0.12em -0.04em; }
.wi { display: inline-block; transform: translateY(115%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease) calc(var(--d, 0s) + var(--wi) * 0.05s); }
[data-split].in .wi { transform: none; }
@keyframes showFail { to { opacity: 1; } }

.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.js [data-enter] { opacity: 0; transform: translateY(26px); }
.js.is-ready [data-enter] { opacity: 1; transform: none; transition: opacity 1s var(--ease) var(--d, 0.3s), transform 1.1s var(--ease) var(--d, 0.3s); }

.frame { position: relative; overflow: hidden; border-radius: var(--r); background: var(--navy-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; scale: 1.14; transition: scale 1.8s var(--ease); will-change: translate, scale; }
.js [data-reveal] { clip-path: inset(0 0 100% 0 round var(--r)); transition: clip-path 1.4s var(--ease) var(--d, 0s); }
.js [data-reveal] img { scale: 1.45; }
.js [data-reveal].in { clip-path: inset(0 0 0 0 round var(--r)); }
.js [data-reveal].in img { scale: 1.14; }
.js [data-reveal-up] { opacity: 0; transform: translateY(70px); transition: opacity 0.9s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s), flex-grow 0.8s var(--ease); }
.js [data-reveal-up].in { opacity: 1; transform: none; }

/* hero -------------------------------------------------------------------- */
.hero, .phero { position: relative; isolation: isolate; overflow: clip; background: var(--navy); color: #fff; }
.hero::before, .phero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 70% at 85% 20%, rgba(47, 111, 235, 0.42), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(18, 48, 90, 0.9), transparent 70%); }
.hero { min-height: 100svh; display: grid; align-items: center; padding: calc(var(--hdr) + clamp(24px, 6vh, 64px)) 0 clamp(90px, 13vh, 130px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 6.2fr) minmax(0, 5.4fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.hero__copy { display: grid; gap: clamp(20px, 3vh, 30px); justify-items: start; }
.hero .kicker, .phero .kicker { color: var(--blue-light); }
.hero__h1 { font-size: clamp(2.6rem, 4.9vw + 0.5rem, 5.8rem); line-height: 1.02; letter-spacing: -0.045em; color: #fff; }
html[lang='el'] .hero__h1 { font-size: clamp(2.2rem, 3.7vw + 0.5rem, 4.5rem); }
html[lang='ru'] .hero__h1 { font-size: clamp(2.1rem, 3.1vw + 0.5rem, 4rem); letter-spacing: -0.03em; line-height: 1.06; }
.hero .lead, .phero .lead { color: rgba(255, 255, 255, 0.76); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; }
.hero__cta .textlink { color: #fff; }
.hero__call { font-size: 16.5px; color: rgba(255, 255, 255, 0.66); }
.hero__call a { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.3); transition: border-color 0.3s; }
.hero__call a:hover { border-color: #fff; }
.hero__media { position: relative; }
.frame--hero { aspect-ratio: 4 / 4.7; border-radius: 32px; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.7); }
.js .frame--hero[data-reveal] { clip-path: inset(0 0 100% 0 round 32px); }
.js .frame--hero[data-reveal].in { clip-path: inset(0 0 0 0 round 32px); }
.frame--hero img { object-position: 28% 40%; }

.float { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px 11px 14px; border-radius: 999px; background: #fff; color: var(--ink); font: 700 15.5px/1 var(--sans); box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.5); white-space: nowrap; translate: var(--mx, 0) var(--my, 0); transition: translate 0.6s var(--ease-io); }
.float .ico { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--blue); color: #fff; stroke-width: 3; }
.float--1 { top: 9%; left: -11%; animation: bob 6s ease-in-out infinite; }
.float--2 { top: 52%; right: -8%; animation: bob 7s ease-in-out -2s infinite; }
.float--3 { bottom: 8%; left: -6%; animation: bob 6.5s ease-in-out -4s infinite; }
.js .float { opacity: 0; scale: 0.6; transition: opacity 0.8s var(--ease) 1.1s, scale 0.9s var(--ease) 1.1s, translate 0.6s var(--ease-io); }
.js.is-ready .float { opacity: 1; scale: 1; }
@keyframes bob { 0%, 100% { margin-top: 0; } 50% { margin-top: -12px; } }

.scrollhint { position: absolute; left: var(--gut); bottom: 28px; display: inline-flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.scrollhint i { position: relative; width: 1.5px; height: 46px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.scrollhint i::after { content: ''; position: absolute; inset: 0; background: #fff; transform: translateY(-100%); animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (max-width: 1000px), (max-height: 640px) { .scrollhint { display: none; } }

/* the logo's three rising bars as a background motif */
.bars { position: absolute; inset: 0; z-index: -1; display: flex; align-items: flex-end; justify-content: flex-end; gap: clamp(10px, 2.2vw, 34px); padding-right: clamp(0px, 4vw, 70px); pointer-events: none; }
.bars i { width: clamp(46px, 8.5vw, 140px); border-radius: 22px 22px 0 0; background: linear-gradient(180deg, rgba(91, 143, 240, 0.34), rgba(91, 143, 240, 0.03)); transform-origin: bottom; }
.bars i:nth-child(1) { height: 36%; } .bars i:nth-child(2) { height: 58%; } .bars i:nth-child(3) { height: 84%; }
.js .bars i { transform: scaleY(0); transition: transform 1.8s var(--ease) calc(0.4s + var(--k, 0) * 0.18s); }
.js .bars i:nth-child(2) { --k: 1; } .js .bars i:nth-child(3) { --k: 2; }
.js.is-ready .bars i, .js .bars.in i { transform: none; }
.bars--cta i { background: linear-gradient(180deg, rgba(91, 143, 240, 0.28), rgba(91, 143, 240, 0)); }

/* marquee ----------------------------------------------------------------- */
.marquee { position: relative; z-index: 3; width: 106%; margin: -34px -3% 0; padding: 26px 0; overflow: hidden; background: var(--blue); color: #fff; transform: rotate(-1.6deg); box-shadow: 0 20px 50px -20px rgba(7, 19, 36, 0.5); }
.marquee__track { display: flex; width: max-content; animation: marq 55s linear infinite; will-change: transform; }
.marquee.is-js .marquee__track { animation: none; }
.marquee__set { display: flex; flex: none; }
.marquee span { display: inline-flex; align-items: center; padding-left: clamp(40px, 5vw, 80px); font: 700 clamp(1.5rem, 2.8vw, 2.5rem) / 1 var(--display); letter-spacing: -0.03em; white-space: nowrap; }
.marquee span::after { content: ''; width: 12px; height: 12px; margin-left: clamp(40px, 5vw, 80px); background: var(--amber); transform: rotate(45deg); }
.marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px #fff; }
@keyframes marq { to { transform: translateX(-50%); } }

/* sections ---------------------------------------------------------------- */
.sec { position: relative; padding: clamp(80px, 11vw, 160px) 0; }
.sec--light { background: #fff; }
.sec--sky { background: var(--sky); }
.sec--navy { background: var(--navy); color: #fff; }
.sec--navy .display { color: #fff; }
.sec--navy .kicker { color: var(--blue-light); }
.sec__head { display: grid; gap: 18px; max-width: 820px; margin-bottom: clamp(36px, 6vw, 80px); justify-items: start; }
.sec__head .display { font-size: clamp(2.2rem, 3.6vw + 0.6rem, 4.4rem); }
.sec__head--wide { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 6vw, 96px); align-items: end; }
.sec__head--wide > div { display: grid; gap: 18px; justify-items: start; }
.sec__intro { color: var(--muted); font-size: 1.15rem; max-width: 50ch; }
.sec__head--wide .sec__intro { margin-bottom: 14px; }

/* statement: words light up as you scroll */
.statement { background: var(--bg); padding-top: clamp(100px, 13vw, 190px); padding-bottom: clamp(24px, 3.6vw, 56px); }
.statement__text { font-size: clamp(1.8rem, 3.3vw + 0.4rem, 3.9rem); line-height: 1.16; font-weight: 600; letter-spacing: -0.04em; max-width: 21em; }
.js .statement__text .sw, .js .approach .sw { opacity: 0.16; }

/* services: stacking cards (compact) — each card sticks, the next one slides over it */
.sec--stack { background: var(--bg); padding-top: clamp(16px, 2.4vw, 36px); padding-bottom: clamp(60px, 8vw, 110px); }
.stack { display: grid; }
.scard { --p: 0; position: sticky; top: calc(var(--hdr) + var(--i) * 18px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 52px); align-items: center; min-height: min(58vh, 450px); margin-bottom: clamp(16px, 2.6vw, 30px); padding: clamp(18px, 2.8vw, 40px); border-radius: 30px; transform-origin: 50% 0; transform: scale(calc(1 - var(--p) * 0.06)); box-shadow: 0 30px 60px -40px rgba(7, 19, 36, 0.5); isolation: isolate; will-change: transform; }
.scard:last-child { margin-bottom: 0; }
.scard::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; background: var(--ink); opacity: calc(var(--p) * 0.28); pointer-events: none; }
.scard--1 { background: #fff; } .scard--2 { background: var(--sky); } .scard--3 { background: var(--navy); color: #fff; } .scard--4 { background: var(--blue); color: #fff; }
.scard--3 .display, .scard--4 .display { color: #fff; }
.scard__copy { display: grid; gap: clamp(8px, 1.4vh, 16px); justify-items: start; }
.scard__n { font: 800 15px var(--display); letter-spacing: 0.04em; color: var(--blue); }
.scard--3 .scard__n { color: var(--blue-light); }
.scard--4 .scard__n { color: #fff; opacity: 0.75; }
.scard .display { font-size: clamp(1.7rem, 2.1vw + 0.6rem, 2.9rem); }
.scard .display a { text-decoration: none; }
.scard p { max-width: 44ch; opacity: 0.82; font-size: 1.05rem; }
.scard--1 p, .scard--2 p { color: var(--muted); opacity: 1; }
.tagrow { display: flex; flex-wrap: wrap; gap: 8px; }
.tagrow li { padding: 6px 14px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.28); font-size: 14.5px; font-weight: 700; }
.scard--1 .tagrow li, .scard--2 .tagrow li, .tagrow--dark li { border-color: var(--line); color: var(--ink); background: #fff; }
.scard--2 .tagrow li { border-color: #c7d8f5; }
.scard--1 .btn--light { --bg: var(--navy); --fg: #fff; --sweep: var(--blue); } .scard--1 .btn--light:hover { color: #fff; border-color: var(--blue); }
.scard--4 .btn--light { --sweep: var(--sky); } .scard--4 .btn--light:hover { color: var(--navy); }
.scard__img { display: block; align-self: stretch; min-height: 240px; border-radius: 22px; }
.scard__img img { position: absolute; inset: 0; object-position: 50% 45%; }
.scard__img img[src*='/tax-'] { object-position: 50% 82%; }
.scard__img img[src*='/accounting-'] { object-position: 50% 38%; }
.scard:hover .scard__img img { scale: 1.2; }

/* approach: sticky statement + a progress line through the steps */
.approach { padding-bottom: clamp(90px, 12vw, 180px); }
.approach__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.approach__side { position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 26px; justify-items: start; }
.approach .display { font-size: clamp(1.9rem, 2.8vw + 0.5rem, 3.5rem); line-height: 1.1; }
.approach__photo { width: 100%; aspect-ratio: 16 / 10; margin-top: 8px; }
.approach__photo img { object-position: 72% 50%; }
.steps { --prog: 0; position: relative; display: grid; gap: clamp(60px, 11vw, 150px); padding: clamp(10px, 4vw, 70px) 0 clamp(10px, 4vw, 70px) 64px; }
.steps::before, .steps::after { content: ''; position: absolute; left: 14px; top: 0; bottom: 0; width: 2px; border-radius: 2px; }
.steps::before { background: var(--line-d); }
.steps::after { background: linear-gradient(var(--blue-light), var(--blue)); transform-origin: top; transform: scaleY(var(--prog)); }
.step { position: relative; display: grid; gap: 10px; }
.js .step { opacity: 0.32; transition: opacity 0.6s var(--ease); }
.js .step.is-on { opacity: 1; }
.step::before { content: ''; position: absolute; left: -57px; top: 16px; width: 16px; height: 16px; border-radius: 50%; background: var(--navy); border: 2px solid var(--line-d); transition: background 0.5s, border-color 0.5s, box-shadow 0.5s; }
.step.is-on::before { background: var(--blue-light); border-color: var(--blue-light); box-shadow: 0 0 0 8px rgba(141, 180, 255, 0.18); }
.step__n { font: 800 clamp(3.4rem, 7vw, 6.6rem) / 0.9 var(--display); letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.35); transition: color 0.6s, -webkit-text-stroke-color 0.6s; }
.step.is-on .step__n { color: var(--blue); -webkit-text-stroke-color: var(--blue); }
.step .display { font-size: clamp(1.5rem, 1.6vw + 1rem, 2.3rem); }
.step p { color: rgba(255, 255, 255, 0.74); max-width: 36ch; font-size: 1.12rem; }
.step > div { display: grid; gap: 8px; }

/* who we work with: expanding panels */
.who { background: var(--bg); }
.panels { display: flex; gap: 14px; height: clamp(460px, 64vh, 620px); }
.panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 30px; color: #fff; cursor: pointer; isolation: isolate; background: var(--navy-2); transition: flex-grow 0.9s var(--ease); }
.panel.is-active { flex-grow: 2.3; }
.panel img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; scale: 1.12; transition: scale 1.4s var(--ease); }
.panel.is-active img { scale: 1; }
.panel::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(7, 19, 36, 0.9) 6%, rgba(7, 19, 36, 0.25) 55%, rgba(7, 19, 36, 0.05)); transition: opacity 0.6s; }
.panel__body { position: absolute; inset: auto 0 0 0; display: grid; gap: 8px; padding: clamp(20px, 2.4vw, 34px); }
.panel__n { font: 800 14px var(--display); letter-spacing: 0.06em; color: var(--blue-light); }
.panel .display { color: #fff; font-size: clamp(1.05rem, 0.9vw + 0.55rem, 1.5rem); overflow-wrap: break-word; transition: font-size 0.7s var(--ease); }
.panel.is-active .display { font-size: clamp(1.5rem, 1.5vw + 0.8rem, 2.4rem); }
.panel p { max-width: 34ch; color: rgba(255, 255, 255, 0.86); max-height: 0; opacity: 0; overflow: hidden; transform: translateY(14px); transition: max-height 0.8s var(--ease), opacity 0.5s, transform 0.8s var(--ease); }
.panel.is-active p { max-height: 160px; opacity: 1; transform: none; transition-delay: 0.12s; }

/* call to action ---------------------------------------------------------- */
.cta { position: relative; isolation: isolate; overflow: clip; background: var(--navy); color: #fff; padding: clamp(90px, 12vw, 170px) 0; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(55% 60% at 100% 0%, rgba(47, 111, 235, 0.45), transparent 70%); }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.cta__copy { display: grid; gap: 24px; justify-items: start; }
.cta .kicker { color: var(--blue-light); }
.cta__h { font-size: clamp(2.3rem, 4vw + 0.5rem, 4.8rem); color: #fff; line-height: 1.02; }
.cta .lead { color: rgba(255, 255, 255, 0.76); }
.cta__who { color: rgba(255, 255, 255, 0.66); }
.cta__who b { color: #fff; }

/* contact tiles: phone, email, WhatsApp */
.tiles { display: grid; gap: 14px; width: 100%; }
.tile { --tc: var(--blue-light); position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 18px; padding: clamp(18px, 2.2vw, 26px) 72px clamp(18px, 2.2vw, 26px) clamp(18px, 2vw, 26px); border: 1px solid var(--line-d); border-radius: 26px; text-decoration: none; transition: border-color 0.4s, transform 0.6s var(--ease), color 0.4s; }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
.tile:hover { border-color: var(--blue); transform: translateX(6px); color: #fff; }
.tile:hover::before { transform: none; }
.tile > .ico:first-child { width: 52px; height: 52px; flex: none; padding: 14px; border-radius: 50%; background: rgba(141, 180, 255, 0.14); color: var(--tc); transition: background 0.4s, color 0.4s; }
.tile:hover > .ico:first-child { background: rgba(255, 255, 255, 0.2); color: #fff; }
.tile span { display: grid; gap: 2px; min-width: 0; }
.tile small { font-size: 14px; font-weight: 600; opacity: 0.7; line-height: 1.2; }
.tile b { font: 700 clamp(1.15rem, 0.8vw + 1rem, 1.6rem) / 1.2 var(--display); letter-spacing: -0.03em; overflow-wrap: break-word; }
.tile > .ico:last-child { position: absolute; right: 24px; top: 50%; margin-top: -11px; width: 22px; height: 22px; opacity: 0.8; transition: transform 0.5s var(--ease); }
.tile:hover > .ico:last-child { transform: translate(4px, -4px) rotate(0deg); opacity: 1; }
.contact .tile { --tc: var(--blue); border-color: var(--line); background: #fff; color: var(--ink); }
.contact .tile > .ico:first-child { background: var(--sky); }
.contact .tile:hover { color: #fff; }
.contact .tiles { grid-template-columns: repeat(3, 1fr); }
.contact .tile b { font-size: clamp(1.05rem, 0.45vw + 0.9rem, 1.45rem); }
.contact .tile { align-items: flex-start; flex-direction: column; min-height: 220px; justify-content: flex-end; padding: 28px; }
.contact .tile > .ico:first-child { position: absolute; top: 28px; left: 28px; }
.contact .tile > .ico:last-child { top: 40px; right: 28px; }

/* about page: just a little text ------------------------------------------- */
.about { padding-top: clamp(64px, 9vw, 130px); }
.about__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.about__lead { font-size: clamp(1.7rem, 2.3vw + 0.7rem, 3rem); line-height: 1.16; font-weight: 600; letter-spacing: -0.04em; }
.about__text { display: grid; gap: 1.3em; padding-top: 0.6em; font-size: clamp(1.1rem, 0.4vw + 1rem, 1.28rem); color: var(--muted); max-width: 46ch; }
.about__end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 56px; margin-top: clamp(56px, 8vw, 110px); padding-top: clamp(24px, 3vw, 36px); border-top: 1.5px solid var(--ink); }
.about__end .display { max-width: 18em; font-size: clamp(1.5rem, 1.6vw + 0.9rem, 2.2rem); line-height: 1.12; }
.about__links { display: flex; flex-wrap: wrap; gap: 14px 30px; }
.about__links .textlink { color: var(--blue); font-size: 1.05rem; overflow-wrap: anywhere; }

/* inner pages ------------------------------------------------------------- */
.phero { padding: calc(var(--hdr) + clamp(50px, 9vh, 110px)) 0 clamp(60px, 9vw, 120px); }
.phero__grid { display: grid; gap: 40px; }
.phero__grid--photo { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.phero__copy { display: grid; gap: 26px; justify-items: start; }
.phero__h1 { font-size: clamp(2.5rem, 4.4vw + 0.5rem, 5rem); color: #fff; letter-spacing: -0.045em; line-height: 1.03; }
html[lang='el'] .phero__h1 { font-size: clamp(2.1rem, 3.5vw + 0.5rem, 4rem); }
html[lang='ru'] .phero__h1 { font-size: clamp(2rem, 3vw + 0.5rem, 3.6rem); letter-spacing: -0.03em; line-height: 1.08; }
html[lang='ru'] .statement__text { font-size: clamp(1.55rem, 2.6vw + 0.4rem, 3.2rem); letter-spacing: -0.025em; line-height: 1.2; }
html[lang='ru'] .about__lead { font-size: clamp(1.5rem, 1.9vw + 0.7rem, 2.5rem); letter-spacing: -0.025em; line-height: 1.2; }
html[lang='ru'] .display, html[lang='ru'] .menu nav a span, html[lang='ru'] .tile b { letter-spacing: -0.02em; }
.phero .frame--hero { aspect-ratio: 4 / 4.5; }
.page-accounting .frame--hero img { object-position: 50% 40%; }
.page-payroll .frame--hero img { object-position: 52% 45%; }
.page-about .frame--hero img { object-position: 86% 45%; }
.phero--404 { min-height: 100svh; display: grid; align-items: center; }

.rows { counter-reset: row; }
.row { position: relative; display: grid; grid-template-columns: 64px minmax(0, 5fr) minmax(0, 7fr); gap: clamp(14px, 4vw, 64px); padding: clamp(30px, 4vw, 52px) 0; transition: padding 0.6s var(--ease); }
.row::before, .row:last-child::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1.5px; background: var(--ink); transform-origin: left; }
.row:last-child::after { top: auto; bottom: 0; background: var(--line); }
.row::before { background: var(--line); }
.js .row::before { transform: scaleX(0); transition: transform 1.4s var(--ease); }
.js .row.in::before { transform: none; }
.js .row > * { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease) 0.15s, transform 1s var(--ease) 0.15s; }
.js .row.in > * { opacity: 1; transform: none; }
.row__n { font: 800 15px var(--display); letter-spacing: 0.04em; color: var(--blue); padding-top: 12px; }
.row h2 { font-size: clamp(1.5rem, 1.7vw + 1rem, 2.4rem); transition: color 0.4s, transform 0.6s var(--ease); }
.row:hover { padding-left: 18px; }
.row:hover h2 { color: var(--blue); }
.row p { color: var(--muted); max-width: 60ch; font-size: 1.12rem; }
.row .tagrow { margin-top: 18px; }

.also { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); margin-top: 32px; }
.also a { position: relative; display: grid; gap: 8px; align-content: start; min-height: 240px; padding: 28px; border-radius: 28px; background: #fff; text-decoration: none; transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), background 0.4s, color 0.4s; }
.also a:hover { transform: translateY(-8px); background: var(--navy); color: #fff; box-shadow: 0 40px 70px -40px rgba(7, 19, 36, 0.6); }
.also a:hover .display, .also a:hover p { color: #fff; }
.also__n { font: 800 14px var(--display); color: var(--blue); }
.also b { font-size: 1.7rem; line-height: 1.1; }
.also p { color: var(--muted); max-width: 30ch; }
.also__go { position: absolute; right: 24px; bottom: 24px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--sky); color: var(--blue); transition: transform 0.5s var(--ease), background 0.4s; }
.also a:hover .also__go { background: var(--blue); color: #fff; transform: rotate(45deg); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); margin-top: 32px; }
.card { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: var(--bg); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), background 0.4s; }
.card:hover { transform: translateY(-8px); background: #fff; box-shadow: 0 40px 70px -40px rgba(7, 19, 36, 0.35), 0 0 0 1.5px var(--blue); }
.card__n { font: 800 15px var(--display); color: var(--blue); }
.card h3 { font-size: 1.55rem; line-height: 1.15; }
.card p { color: var(--muted); font-size: 1.05rem; }

.contact { display: grid; gap: clamp(28px, 4vw, 56px); }
.person { display: flex; align-items: center; gap: 18px; }
.person__av { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: #fff; font: 800 1.2rem var(--display); }
.person small { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.3; }
.person b { font-size: 1.6rem; }

.prose { max-width: 780px; }
.prose h2 { font-size: 1.7rem; margin: 2em 0 0.5em; letter-spacing: -0.03em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); margin-bottom: 1em; font-size: 1.1rem; }

/* footer ------------------------------------------------------------------ */
.ftr { --logo-m: #dfe8f7; position: relative; overflow: clip; background: var(--ink); color: #fff; padding-top: clamp(64px, 8vw, 110px); }
.ftr .logo__k, .ftr .logo__bars path { fill: #5b8ff0; stroke: #5b8ff0; }
.ftr a { text-decoration: none; }
.ftr__grid { display: grid; grid-template-columns: 1.2fr 0.9fr 1.4fr; gap: 40px; padding-bottom: clamp(36px, 5vw, 64px); }
.ftr__brand { display: grid; gap: 20px; align-content: start; }
.ftr__brand p { color: rgba(255, 255, 255, 0.66); max-width: 34ch; }
.ftr__col { display: grid; gap: 10px; align-content: start; }
.ftr__col h2 { font: 700 15px var(--sans); color: var(--blue-light); margin-bottom: 6px; }
.ftr__col a { width: fit-content; color: rgba(255, 255, 255, 0.86); overflow-wrap: break-word; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 0.4s var(--ease), color 0.3s; }
.ftr__col a:hover, .ftr__links a:hover { color: #fff; background-size: 100% 1.5px; }
.ftr__person { color: rgba(255, 255, 255, 0.55); }
.ftr__grid, .ftr__legal { position: relative; z-index: 1; }
/* big faded KM mark on the right; the three bars rise when it scrolls into view */
.ftr__mark { position: absolute; z-index: 0; right: -5%; bottom: -20%; width: min(56vw, 700px); height: auto; opacity: 0.08; pointer-events: none; overflow: visible; }
.ftr__mark .logo__bars path { transform-box: fill-box; transform-origin: bottom; }
.js .ftr__mark { opacity: 0; transform: translateY(70px); transition: opacity 1.6s var(--ease), transform 1.8s var(--ease); }
.js .ftr__mark.in { opacity: 0.09; transform: none; }
.js .ftr__mark .logo__bars path { transform: scaleY(0); transition: transform 1.6s var(--ease) 0.5s; }
.js .ftr__mark.in .logo__bars path { transform: none; }
.js .ftr__mark .logo__bars .b2 { transition-delay: 0.7s; } .js .ftr__mark .logo__bars .b3 { transition-delay: 0.9s; }
.ftr__legal { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 28px; padding-block: 22px 30px; border-top: 1px solid var(--line-d); font-size: 15px; color: rgba(255, 255, 255, 0.6); }
.ftr__links, .ftr__langs { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.ftr__langs [aria-current] { color: #fff; border-bottom: 1.5px solid var(--amber); }
.ftr__langs a { transition: color 0.3s; }
.ftr__langs a:hover { color: #fff; }

/* page transitions (progressive enhancement) ----------------------------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut 0.35s var(--ease-io) both; }
::view-transition-new(root) { animation: vtIn 0.6s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(18px); } }

.brand__t, .nav > a, .nav__btn { white-space: nowrap; hyphens: none; }
html[lang='el'] .nav > a, html[lang='el'] .nav__btn, html[lang='ru'] .nav > a, html[lang='ru'] .nav__btn { padding-inline: 12px; }
/* three languages make the header busy: phone is an icon, and the burger menu takes over below 1280px */
.hdr__tel span { display: none; }
.hdr__tel { width: 40px; height: 40px; justify-content: center; border: 1.5px solid currentColor; border-radius: 999px; }
.hdr__tel .ico, .hdr.is-solid .hdr__tel .ico { color: inherit; }
@media (max-width: 1280px) {
  .nav, .hdr__cta { display: none; }
  .burger { display: grid; }
  .hdr__end { margin-left: auto; }
}

/* responsive -------------------------------------------------------------- */
@media (max-width: 1000px) {
  :root { --hdr: 72px; }
  .hero { min-height: 0; }
  .hero__grid, .phero__grid--photo, .approach__grid, .cta__grid, .contact, .sec__head--wide { grid-template-columns: minmax(0, 1fr); }
  .hero__media { max-width: 560px; width: calc(100% - 30px); margin-inline: auto; }
  .frame--hero, .phero .frame--hero { aspect-ratio: 4 / 4.2; }
  .float--1 { left: -4%; } .float--2 { right: -4%; } .float--3 { left: -2%; }
  .approach__side { position: static; }
  .scard { grid-template-columns: 1fr; top: calc(var(--hdr) + var(--i) * 10px); min-height: 0; gap: 14px; padding: 14px 14px 20px; border-radius: 26px; }
  .scard__img { min-height: 0; aspect-ratio: 16 / 9; align-self: auto; order: -1; border-radius: 18px; }
  .scard__copy { padding: 0 6px; gap: 8px; }
  .scard p { font-size: 1rem; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
  .phero__grid--photo .frame--hero { max-width: 520px; }
}
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .contact .tiles { grid-template-columns: 1fr; }
  .contact .tile { flex-direction: row; align-items: center; min-height: 0; padding: 22px 72px 22px 22px; justify-content: flex-start; }
  .contact .tile > .ico:first-child { position: static; }
  .contact .tile > .ico:last-child { top: 50%; right: 22px; }
  .panels { flex-direction: column; height: auto; }
  .panel, .panel.is-active { flex: none; height: 340px; }
  .panel p, .panel.is-active p { max-height: 200px; opacity: 1; transform: none; }
  .panel img { scale: 1; }
  .also, .cards { grid-template-columns: 1fr; }
  .row { grid-template-columns: 44px minmax(0, 1fr); }
  .row__body { grid-column: 2; }
  .steps { padding-left: 48px; }
  .step::before { left: -41px; }
  .steps::before, .steps::after { left: 6px; }
}
@media (max-width: 760px) { .bars { opacity: 0.55; } .bars i { width: 15vw; } }
@media (max-width: 420px) { .brand__t { display: none; } }
@media (max-width: 560px) {
  .btn { max-width: 100%; white-space: normal; text-align: left; line-height: 1.25; }
  .hdr__bar { gap: 12px; }
  .brand__t span { display: none; }
  .hdr__tel { display: none; }
  .ftr__grid { grid-template-columns: 1fr; }
  .ftr__legal { flex-direction: column; }
  .marquee { padding: 20px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .marquee__track { animation: none; }
  .js .rv, .js [data-enter], .js [data-reveal-up], .js .row > * { opacity: 1; transform: none; }
  .scard { transform: none; }
  .js [data-reveal], .js .frame--hero[data-reveal] { clip-path: none; }
  .js [data-split]:not(.is-split) { opacity: 1; }
  @view-transition { navigation: none; }
}

/* safety net: if scripts fail to run, never leave content hidden */
.failsafe .curtain { display: none !important; }
.failsafe .rv, .failsafe [data-enter], .failsafe [data-reveal-up], .failsafe .row > *, .failsafe .step, .failsafe .float { opacity: 1 !important; transform: none !important; scale: 1 !important; }
.failsafe [data-reveal] { clip-path: none !important; }
.failsafe [data-split] { opacity: 1 !important; }
.failsafe .wi { transform: none !important; }
.failsafe .ftr__mark, .failsafe .ftr__mark .logo__bars path, .failsafe .bars i { transform: none !important; }
.failsafe .ftr__mark { opacity: 0.09 !important; }
