/* R+K Teamkraft – palette from workwear: hi-vis yellow, petrol overalls, clean floor */
:root {
  --ink: #0F2E36;
  --ink-soft: #46626A;
  --petrol: #1F5C6B;
  --signal: #FFD100;
  --signal-deep: #7A5F00;
  --floor: #F3F6F5;
  --paper: #FFFFFF;
  --line: rgba(15, 46, 54, .16);
  --on-ink: #EEF4F4;
  --on-ink-soft: #A9C2C7;
  --line-ink: rgba(238, 244, 244, .2);

  --font: "Archivo", "Noto Sans Georgian", system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--floor); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.section--ink :focus-visible, .footer :focus-visible { outline-color: var(--signal); }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 16px; background: var(--signal); color: var(--ink); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* The page shows one audience at a time */
body[data-audience="firma"] [data-aud="bewerber"],
body[data-audience="bewerber"] [data-aud="firma"] { display: none !important; }

h1, h2 { font-weight: 750; font-stretch: 108%; letter-spacing: -.025em; line-height: 1.02; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.5rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 3.2rem); line-height: 1.06; max-width: 18em; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.big { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.45; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.5; color: var(--ink-soft); max-width: 32em; margin: 24px 0 32px; }
:lang(ka) h1, :lang(ka) h2 { font-stretch: 100%; letter-spacing: 0; line-height: 1.15; }
:lang(ka) h1 { font-size: clamp(2rem, 4.8vw, 4.2rem); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px;
  font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.btn--small { min-height: 44px; padding: 0 22px; font-size: .95rem; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--petrol); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(243, 246, 245, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav__row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; min-height: 44px; padding-block: 8px; white-space: nowrap; }
.brand { align-items: center; }
.brand__emblem { width: 40px; height: 40px; margin-right: 4px; flex: none; }
.about__side { display: grid; gap: 32px; }
.about__emblem { width: clamp(140px, 16vw, 200px); height: clamp(140px, 16vw, 200px); color: var(--signal); }
.brand__mark { font-size: 1.5rem; font-weight: 800; font-stretch: 120%; letter-spacing: -.02em; }
.brand__plus { background: var(--signal); padding: 0 .12em; margin: 0 .04em; border-radius: 3px; }
.brand__name { font-size: 1.15rem; font-weight: 600; }
.nav__menu { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.nav__menu > a { white-space: nowrap; }
.nav__menu > a:not(.btn) { text-decoration: none; font-weight: 500; padding-block: 12px; border-bottom: 2px solid transparent; }
.nav__menu > a:not(.btn):hover { border-bottom-color: var(--signal); }
.nav__toggle { display: none; min-height: 44px; padding: 0 16px; font: inherit; font-weight: 600; color: inherit; background: none; border: 2px solid var(--ink); border-radius: 999px; cursor: pointer; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button { min-width: 44px; min-height: 40px; padding: 0 12px; font: inherit; font-size: .85rem; font-weight: 700; color: var(--ink-soft); background: none; border: 0; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: end; }
.who { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; margin-bottom: clamp(28px, 4vw, 48px); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
.who button {
  min-height: 48px; padding: 0 22px; font: inherit; font-weight: 700; color: var(--ink); background: none; border: 0; border-radius: 999px; cursor: pointer;
  transition: background-color .2s var(--ease);
}
.who button[aria-pressed="true"] { background: var(--signal); }
.who button:not([aria-pressed="true"]):hover { background: var(--floor); }

/* Shift board: the four areas as stacked bands */
.board { display: grid; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.board a { display: grid; gap: 2px; padding: clamp(18px, 2.4vw, 30px) clamp(20px, 2.6vw, 32px); text-decoration: none; transition: padding-left .2s var(--ease); }
.board a:hover { padding-left: clamp(28px, 3.4vw, 44px); }
.board strong { font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-weight: 750; font-stretch: 112%; letter-spacing: -.02em; line-height: 1.1; }
.board span { font-size: .98rem; }
.board li:nth-child(1) a { background: var(--ink); color: var(--on-ink); }
.board li:nth-child(2) a { background: var(--petrol); color: var(--on-ink); }
.board li:nth-child(3) a { background: var(--signal); color: var(--ink); }
.board li:nth-child(4) a { background: var(--paper); color: var(--ink); }
body[data-audience="bewerber"] .board li:nth-child(4) { display: none; }

/* Sections */
.section { padding: clamp(64px, 9vw, 136px) 0; }
.section--tint { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--signal { background: var(--signal); }

.services { margin-top: clamp(36px, 5vw, 64px); border-bottom: 2px solid var(--ink); }
.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px clamp(28px, 6vw, 88px); padding: clamp(28px, 3.6vw, 48px) 0; border-top: 2px solid var(--ink); scroll-margin-top: 88px; }
.service h3 { font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-stretch: 108%; letter-spacing: -.02em; line-height: 1.1; overflow-wrap: anywhere; }
.service p { max-width: 36em; }
.service ul { margin-top: 18px; display: grid; gap: 8px; }
.service li { position: relative; padding-left: 26px; color: var(--ink-soft); }
.service li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 6px; background: var(--signal); border: 1px solid var(--ink); border-radius: 2px; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: clamp(36px, 5vw, 64px); }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px;
  font-size: 1.5rem; font-weight: 800; background: var(--signal); border-radius: 50%;
}
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-soft); }

.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.about .big { margin-top: 24px; }
.about p:not(.big) { margin-top: 18px; color: var(--on-ink-soft); max-width: 34em; }
.facts { border-top: 1px solid var(--line-ink); }
.facts > div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-ink); }
.facts dt { color: var(--on-ink-soft); }
.facts dd { font-weight: 600; }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact .big { margin-top: 20px; max-width: 26em; }
.addr { margin-top: 32px; padding-top: 20px; border-top: 2px solid var(--ink); font-weight: 600; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(20px, 3vw, 36px); background: var(--paper); border-radius: 10px; }
.field { display: grid; gap: 6px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .95rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; color: var(--ink); background: var(--floor); border: 1.5px solid rgba(15, 46, 54, .45); border-radius: 6px; }
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: #B3261E; }
.err { font-size: .9rem; color: #8C1D18; font-weight: 600; }
.form__end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form__hint, .form__status { font-size: .9rem; color: var(--ink-soft); }
.form__status:empty { display: none; }

.footer { background: var(--ink); color: var(--on-ink-soft); border-top: 1px solid var(--line-ink); padding: 26px 0; font-size: .92rem; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.footer nav { display: flex; gap: 24px; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; }

.legal { padding: 72px 0 96px; min-height: 70vh; }
.legal h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 28px; }
.legal h2 { font-size: 1.25rem; letter-spacing: 0; margin: 30px 0 8px; }
.legal p { max-width: 40em; color: var(--ink-soft); }
.legal mark { background: var(--signal); color: var(--ink); padding: 0 4px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

@media (max-width: 1080px) {
  .nav__toggle { display: inline-flex; align-items: center; }
  .nav__menu { display: none; position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--floor); border-bottom: 1px solid var(--line); }
  .nav.is-open .nav__menu { display: flex; }
  .nav__menu > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .lang { align-self: flex-start; margin: 20px 0 16px; }
  .nav__menu .btn { align-self: flex-start; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
}
@media (max-width: 820px) {
  .hero__grid, .service, .about, .contact { grid-template-columns: minmax(0, 1fr); }
  .hero__grid { align-items: start; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .who { display: grid; grid-template-columns: 1fr; width: 100%; border-radius: 28px; }
  .steps, .form { grid-template-columns: minmax(0, 1fr); }
  .facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .hero .btn, .form .btn { width: 100%; }
}

/* ---------- Scroll hero: the hall lights come on as you scroll ---------- */
html, body { overflow-x: hidden; overflow-x: clip; }
.vhero { position: relative; background: var(--ink); color: var(--on-ink); --tshadow: 0 1px 2px rgba(6, 20, 24, .9), 0 3px 12px rgba(6, 20, 24, .7), 0 10px 44px rgba(6, 20, 24, .7); }
.vhero__pin { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: grid; align-items: end; background: var(--ink) center / cover no-repeat; }
.vhero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; will-change: transform; pointer-events: none; }
.vhero__video.is-ready { opacity: 1; }
.vhero__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(8, 26, 31, .78), rgba(8, 26, 31, 0) 74%), linear-gradient(180deg, rgba(8, 26, 31, .55), rgba(8, 26, 31, .1) 30%, rgba(8, 26, 31, .4) 60%, rgba(8, 26, 31, .88)); }
.vhero__who { position: absolute; inset: 24px 0 auto 0; z-index: 2; }
.vhero__who .who { margin: 0; }
.vhero__content { position: relative; display: grid; gap: 28px; padding-top: 170px; padding-bottom: clamp(72px, 13vh, 136px); }
.vhero h1 { max-width: 13em; text-shadow: var(--tshadow); }
.vhero__mid { font-size: clamp(2.2rem, 6vw, 5.2rem); font-weight: 750; font-stretch: 112%; letter-spacing: -.025em; line-height: 1.02; text-shadow: var(--tshadow); text-wrap: balance; }
.vhero__end { max-width: min(23em, 44vw); position: relative; isolation: isolate; }
/* The ending is bright, so the settle text carries its own soft shadow field */
.vhero__end::before { content: ""; position: absolute; inset: -48px -90px -48px -48px; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 70% 62% at 36% 50%, rgba(8, 26, 31, .78) 0%, rgba(8, 26, 31, .5) 48%, rgba(8, 26, 31, 0) 76%); }
.vhero__lead { font-size: clamp(1.7rem, 3.6vw, 3.2rem); font-weight: 750; font-stretch: 108%; letter-spacing: -.02em; line-height: 1.06; text-shadow: var(--tshadow); }
.vhero__end .lead { color: var(--on-ink); margin: 16px 0 28px; text-shadow: var(--tshadow); }
:lang(ka) .vhero__mid, :lang(ka) .vhero__lead { font-stretch: 100%; letter-spacing: 0; line-height: 1.18; }
.btn--signal { background: var(--signal); color: var(--ink); }
.btn--signal:hover { background: #FFE04D; }
.vhero__hint, .vhero__bar { display: none; }

.vhero.is-scrub { height: calc(100vh + 2800px); height: calc(100lvh + 2800px); }
/* The stage pins below the sticky navigation so the switch stays visible */
.is-scrub .vhero__pin { position: sticky; top: 73px; height: calc(100vh - 73px); height: calc(100lvh - 73px); min-height: 0; }
.is-scrub .vhero__content > * { grid-area: 1 / 1; align-self: end; }
.is-scrub .vhero__mid, .is-scrub .vhero__end { opacity: 0; visibility: hidden; }
.is-scrub .w { display: inline-block; --kc: clamp(0, calc((var(--k, 0) - var(--th, 0)) * 2.8), 1); opacity: var(--kc); transform: translateY(calc((1 - var(--kc)) * .5em)); }
.is-scrub .vhero__hint { display: flex; flex-direction: column; align-items: center; gap: 8px; position: absolute; left: 50%; bottom: clamp(16px, 4vh, 36px); transform: translateX(-50%); font-size: .85rem; font-weight: 600; color: rgba(238, 244, 244, .85); transition: opacity .4s ease; pointer-events: none; }
.is-scrub .vhero__bar { display: block; position: absolute; inset: auto 0 0 0; height: 3px; background: rgba(255, 255, 255, .16); }
.vhero__bar div { height: 100%; background: var(--signal); transform: scaleX(0); transform-origin: left center; }

/* The four areas as a full-width strip under the hero */
.strip .board { border: 0; border-radius: 0; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Pictures */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(36px, 5vw, 64px); }
.shot { position: relative; margin: 0; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: var(--ink); }
.shot img, .band img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shot figcaption { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 64px 24px 18px; color: var(--on-ink); background: linear-gradient(180deg, transparent, rgba(8, 26, 31, .85)); }
.shot strong { font-size: clamp(1.3rem, 2.2vw, 2rem); font-weight: 750; }
.shot span { font-size: .85rem; color: var(--on-ink-soft); }
body[data-audience="bewerber"] .shots { grid-template-columns: minmax(0, 1fr); }
body[data-audience="bewerber"] .shot { aspect-ratio: 21 / 9; }
.band { margin: clamp(36px, 5vw, 64px) 0 0; aspect-ratio: 21 / 9; border-radius: 10px; overflow: hidden; background: var(--ink); }
.band img { object-position: center 35%; }

@media (prefers-reduced-motion: no-preference) {
  .is-scrub .vhero__hint svg { animation: nudge 1.6s ease-in-out infinite; }
  @keyframes nudge { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(5px); opacity: 1; } }
  .motion .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  .motion .rv.in { opacity: 1; transform: none; }
  .motion .rv.in.done { transition-delay: 0s; }
}
@media (max-width: 820px) {
  .vhero__end { max-width: none; }
  .vhero.is-scrub { height: calc(100vh + 1900px); height: calc(100lvh + 1900px); }
  .shots { grid-template-columns: minmax(0, 1fr); }
  .band, body[data-audience="bewerber"] .shot { aspect-ratio: 16 / 9; }
}
@media (max-width: 520px) {
  .vhero__content { padding-top: 210px; }
  .vhero .btn { width: 100%; }
}
