/* B "24 hodin": the page follows a day in a building, the sky changes from dawn to deep night */
body { background: var(--navy-2); color: #fff; }

[data-sky] { --sky: #0d2142; --ink: #fff; --soft: rgba(255, 255, 255, .82); --acc: var(--yel); background-color: var(--sky); color: var(--ink); transition: background-color .9s ease, color .9s ease; }
[data-sky="dawn"] { --sky: #f4cfa6; --ink: var(--navy-2); --soft: #3a3226; --acc: var(--navy); }
[data-sky="morning"] { --sky: #d5e5f5; --ink: var(--navy-2); --soft: #2e425c; --acc: var(--navy); }
[data-sky="day"] { --sky: #f5f8fc; --ink: var(--navy-2); --soft: #44546a; --acc: var(--navy); }
[data-sky="noon"] { --sky: #ffc72c; --ink: var(--navy-2); --soft: #2b2a1c; --acc: var(--navy); }
[data-sky="dusk"] { --sky: #3c3f75; --ink: #fff; --soft: rgba(255, 255, 255, .85); --acc: var(--yel); }
[data-sky="night"] { --sky: #0d2142; --ink: #fff; --soft: rgba(255, 255, 255, .82); --acc: var(--yel); }
[data-sky="deep"] { --sky: #000c19; --ink: #fff; --soft: rgba(255, 255, 255, .8); --acc: var(--yel); }

.head { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 14px var(--pad); background: rgba(0, 22, 46, .82); backdrop-filter: blur(10px); }
.logo { margin-right: auto; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 26px; font: 600 15px/1 var(--disp); font-stretch: 90%; letter-spacing: .05em; text-transform: uppercase; }
.nav a { text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--yel); }

.btn { display: inline-flex; align-items: center; padding: 16px 26px; background: var(--yel); color: var(--navy-2); text-decoration: none; font: 650 15px/1 var(--disp); font-stretch: 90%; letter-spacing: .07em; text-transform: uppercase; border-radius: 99px; transition: background .2s, color .2s; }
.btn:hover { background: #fff; }
.btn.sm { padding: 11px 18px; font-size: 14px; }
.btn.line { background: none; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.line:hover { background: var(--ink, #fff); color: var(--sky, var(--navy-2)); }

h1, h2, h3 { font-family: var(--disp); font-weight: 700; font-stretch: 78%; letter-spacing: -.01em; }
h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; text-wrap: balance; }

/* hero: coloured by the visitor's real time of day */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 120px var(--pad) clamp(48px, 8vh, 96px); overflow: hidden; }
.big-time { position: absolute; right: -2vw; top: 50%; translate: 0 -54%; font: 800 clamp(160px, 34vw, 520px)/.8 var(--disp); font-stretch: 75%; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 2px var(--ink); opacity: .16; font-variant-numeric: tabular-nums; pointer-events: none; }
.hero-in { position: relative; }
.eyebrow { font: 600 15px/1 var(--disp); letter-spacing: .12em; text-transform: uppercase; color: var(--acc); margin-bottom: 22px; font-variant-numeric: tabular-nums; }
h1 { font-size: clamp(48px, 7.4vw, 120px); line-height: .92; max-width: 12ch; text-transform: uppercase; }
.lead { margin-top: 26px; max-width: 52ch; font-size: clamp(17px, 1.4vw, 20px); color: var(--soft); }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero:is([data-sky="dawn"], [data-sky="morning"], [data-sky="day"], [data-sky="noon"]) .btn:not(.line) { background: var(--navy-2); color: #fff; }
.hero :focus-visible { outline-color: var(--acc); }

/* the day */
.day { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.day :focus-visible { outline-color: var(--acc); }
.dial-wrap { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 90px var(--pad) 40px; }
.day-title { font-size: clamp(22px, 2vw, 30px); text-transform: uppercase; letter-spacing: .04em; }
.dial { width: min(100%, 380px); height: auto; overflow: visible; }
.dial .ring { fill: none; stroke: currentColor; stroke-opacity: .3; stroke-width: 2; }
.dial .arc-day { fill: none; stroke: var(--yel); stroke-width: 6; stroke-opacity: .6; }
.dial .ticks line { stroke: currentColor; stroke-opacity: .45; stroke-width: 2; }
.dial .ticks line.major { stroke-opacity: .9; stroke-width: 3; }
.dial text { fill: currentColor; font: 700 16px/1 var(--disp); text-anchor: middle; opacity: .8; }
.hand { transition: rotate 1s cubic-bezier(.3, .7, .2, 1); }
.hand path { stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.hand .orb { fill: var(--yel); stroke: var(--navy-2); stroke-width: 2; }
.day:is([data-sky="night"], [data-sky="deep"], [data-sky="dusk"]) .orb { fill: #e9edf5; }
.hub { fill: currentColor; }
.clock { font: 700 clamp(64px, 7vw, 112px)/1 var(--disp); font-stretch: 76%; font-variant-numeric: tabular-nums; }

.steps { padding: 18vh var(--pad) 22vh 0; }
.steps li { min-height: 92svh; display: flex; flex-direction: column; justify-content: center; gap: 22px; opacity: .3; transition: opacity .6s; }
.steps li.on { opacity: 1; }
.steps img { width: 100%; max-height: 52svh; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.steps div { display: flex; flex-direction: column; gap: 10px; }
.when { font: 650 14px/1 var(--disp); letter-spacing: .1em; text-transform: uppercase; color: var(--acc); }
.steps h3 { font-size: clamp(34px, 3.6vw, 56px); line-height: 1; }
.steps p { max-width: 46ch; color: var(--soft); }
.steps p a { color: inherit; font-weight: 700; text-underline-offset: 4px; }

/* companies */
.svc { padding: clamp(90px, 11vw, 150px) var(--pad); background: #f5f8fc; color: var(--navy-2); }
.svc :focus-visible, .refs :focus-visible { outline-color: var(--navy); }
.svc-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 52px; }
.svc-head p { color: var(--ink-2); max-width: 44ch; font-size: 18px; }
.cos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.cos li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 22px 24px; min-height: 280px; background: #fff; border-radius: 6px; border-bottom: 4px solid var(--navy); transition: background .3s, color .3s, translate .3s; }
.cos li:hover { background: var(--navy); color: #fff; translate: 0 -4px; }
.cos .n { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.cos li:hover .n, .cos li:hover p { color: rgba(255, 255, 255, .85); }
.cos h3 { font-size: clamp(28px, 2.3vw, 36px); line-height: 1; }
.cos p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.cos a { margin-top: auto; font-size: 14px; font-weight: 700; color: inherit; text-decoration-color: var(--yel); text-underline-offset: 4px; }
.cos a::before { content: ""; position: absolute; inset: 0; }
.counts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 72px 0 0; padding-top: 36px; border-top: 1px solid var(--line); }
.counts div { display: flex; flex-direction: column-reverse; gap: 6px; }
.counts dd { margin: 0; font: 700 clamp(38px, 4.4vw, 68px)/1 var(--disp); font-stretch: 76%; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.counts dt { font-size: 14px; color: var(--ink-2); }

/* references rail */
.refs { padding: clamp(80px, 10vw, 130px) 0; background: #fff; color: var(--navy-2); }
.refs-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-inline: var(--pad); margin-bottom: 40px; }
.arrows { display: flex; gap: 8px; }
.arrows button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--navy); background: none; color: var(--navy); font-size: 20px; cursor: pointer; }
.arrows button:hover { background: var(--navy); color: #fff; }
.rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--pad) 20px; scroll-padding-inline: var(--pad); scrollbar-width: thin; }
.rail li { flex: none; width: clamp(260px, 26vw, 340px); min-height: 280px; display: flex; flex-direction: column; gap: 12px; padding: 28px 26px; background: #eef1f5; border-radius: 6px; scroll-snap-align: start; }
.rail .k { font: 700 clamp(36px, 3.4vw, 50px)/1 var(--disp); font-stretch: 76%; color: var(--navy); }
.rail b { margin-top: auto; font-size: 18px; }
.rail p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* careers */
.job { display: grid; grid-template-columns: 1fr 1fr; background: var(--yel); color: var(--navy-2); }
.job :focus-visible { outline-color: var(--navy); }
.job > img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.job-txt { padding: clamp(56px, 7vw, 110px) var(--pad); display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.job-txt > p { max-width: 46ch; font-size: 18px; }
.tel { display: flex; flex-direction: column; gap: 4px; }
.tel a { font: 700 clamp(48px, 5.6vw, 88px)/1 var(--disp); font-stretch: 78%; text-decoration: none; }
.tel a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.tel span { font-size: 15px; font-weight: 600; }
.centres { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 16px 36px; padding-top: 18px; border-top: 1px solid rgba(0, 29, 59, .25); font-size: 15px; }
.centres li { display: flex; flex-direction: column; }
.centres a { color: inherit; }

/* contact */
.foot { padding: clamp(90px, 10vw, 140px) var(--pad) 40px; background: var(--navy-2); }
.foot :focus-visible { outline-color: var(--yel); }
.foot-top { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.foot-top h2 { max-width: 16ch; }
.hit { display: flex; flex-direction: column; gap: 6px; }
.hit a { font: 700 clamp(28px, 3vw, 44px)/1.1 var(--disp); font-stretch: 80%; color: var(--yel); text-underline-offset: 6px; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 44px 0 48px; }
.cols p { display: flex; flex-direction: column; gap: 6px; color: rgba(255, 255, 255, .85); }
.cols span { font: 600 13px/1 var(--disp); letter-spacing: .12em; text-transform: uppercase; color: var(--yel); margin-bottom: 8px; }
.cols a { font: 600 20px/1.3 var(--disp); font-stretch: 90%; color: #fff; text-underline-offset: 5px; }
.note { color: rgba(255, 255, 255, .7); opacity: 1; }

@media (max-width: 1100px) {
  .cos { grid-template-columns: repeat(2, 1fr); }
  .cos li:first-child { grid-column: 1 / -1; min-height: 220px; }
  .counts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .head { flex-wrap: wrap; gap: 14px; }
  .head .langs, .head .btn { display: none; }
  .nav { order: 9; width: 100%; flex-direction: column; gap: 0; }
  .nav a { padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); font-size: 17px; }
  .big-time { top: 34%; right: -6vw; }
  .day { grid-template-columns: 1fr; }
  .dial-wrap { top: 68px; z-index: 2; height: auto; flex-direction: row; gap: 16px; padding: 10px var(--pad); background-color: var(--sky); transition: background-color .9s; border-bottom: 1px solid color-mix(in srgb, var(--ink) 20%, transparent); }
  .day-title { display: none; }
  .dial { width: 72px; }
  .dial text { display: none; }
  .clock { font-size: 48px; }
  .steps { padding: 6vh var(--pad) 12vh; }
  .steps li { min-height: 80svh; }
  .steps img { max-height: 40svh; }
  .svc-head { grid-template-columns: 1fr; }
  .job, .cols { grid-template-columns: 1fr; }
  .job > img { min-height: 260px; max-height: 360px; }
}
@media (max-width: 560px) {
  .cos { grid-template-columns: 1fr; }
  .cos li { min-height: 0; }
  .centres { grid-template-columns: 1fr; }
  .rail li { width: 80vw; }
  .arrows { display: none; }
}
