/* ============================================================
   NORDIC TALENT — v5 draft
   Standalone. Does not touch the shipped design system.
   Only locked value is the logo teal; everything else is new.
   Desktop-first draft.
   ============================================================ */

:root {
  --nt:        #128577;   /* locked: the logo */
  --nt-deep:   #0B5F55;
  --nt-tint:   #E8F2F0;

  --page:      #EFF0F1;   /* the grey the white card floats on */
  --card:      #FFFFFF;
  --ink:       #0F1214;
  --ink-70:    #5A6166;
  --ink-45:    #8B9297;
  --line:      #E6E8EA;
  --line-soft: #F0F1F2;

  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "Fragment Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--page);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  background: var(--card);
}
/* the hero runs the full width of the page, like every band below it */
/* nav + hero together fill the first screen, whatever the nav height */
.hero-wrap {
  background: var(--card);
  min-height: 100svh;
  display: flex; flex-direction: column;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--nt); outline-offset: 3px; border-radius: 3px; }

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- the floating white surface ---------- */
.shell { background: var(--card); display: flex; flex-direction: column; flex: 1; }
/* the hero holds the same measure as the bands. width:100% is required:
   auto inline margins on a column-flex child otherwise shrink it. */
.hero { width: 100%; max-width: 1400px; margin-inline: auto; }

/* the nav follows the whole page, then gathers into a centred pill */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 14px 26px;
}
.nav__bar {
  width: 100%; max-width: 1400px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: max-width 0.45s var(--ease), background 0.3s var(--ease),
              border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
              padding 0.45s var(--ease);
}
.nav.is-stuck .nav__bar {
  max-width: 940px;
  padding: 8px 10px 8px 18px;
  background: rgba(255,255,255,0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(15,18,20,0.3);
}
.nav.is-stuck .nav__links { gap: 22px; }

/* ---------- nav ---------- */
.nav__brand img { height: 34px; width: auto; }
.nav__links { display: flex; gap: 30px; }
.nav__links a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-70);
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__right { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 560;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn--ghost { color: var(--ink-70); }
.btn--ghost:hover { color: var(--ink); }
.btn--line { border-color: var(--line); background: var(--card); color: var(--ink); }
.btn--line:hover { border-color: var(--ink-45); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--nt { background: var(--nt); color: #fff; }
.btn--nt:hover { background: var(--nt-deep); }
.btn--lg { padding: 13px 24px; font-size: 15px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 96px 26px;
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
}
.hero__eyebrow { color: var(--ink-45); display: flex; align-items: center; gap: 10px; }
.hero__eyebrow b { color: var(--nt); font-weight: 400; }
.hero__eyebrow i { display: block; width: 3px; height: 3px; border-radius: 50%; background: var(--line); }

.hero__title {
  font-size: 54px;
  line-height: 1.06;
  letter-spacing: -0.033em;
  font-weight: 680;
}
.hero__lede {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink-70);
  max-width: 27em;
}
.hero__cta { display: flex; gap: 10px; margin-top: 4px; }

/* ---------- circular chips ---------- */
.chip {
  position: absolute;
  z-index: 1;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px -10px rgba(15,18,20,0.35);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-70);
}
.chip--nt { color: var(--nt); border-color: rgba(18,133,119,0.28); background: var(--nt-tint); }
.chip small { display: block; font-size: 8px; letter-spacing: 0.1em; color: var(--ink-45); }

/* ---------- the stacked object in the middle ---------- */
.stack {
  position: relative;
  z-index: 2;
  width: 430px;
  margin: 38px auto 0;
}
.stack::before {
  content: "";
  position: absolute; inset: -18% -22% -30%;
  background: radial-gradient(60% 55% at 50% 45%, rgba(18,133,119,0.10), transparent 70%);
  pointer-events: none;
}
.row {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 12px 14px;
  box-shadow: 0 10px 26px -18px rgba(15,18,20,0.4);
}

.row__code {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em;
  background: var(--nt-tint); color: var(--nt-deep);
}
.row:not([data-pos="0"]) .row__code { background: #F2F3F4; color: var(--ink-70); }
.row__text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.row__title { font-size: 13.5px; font-weight: 560; letter-spacing: -0.005em; }
.row__meta { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.09em; color: var(--ink-45); text-transform: uppercase; }
.row__state {
  flex: none;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em;
  padding: 4px 8px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-45);
}
.row__state--live { background: var(--nt); border-color: var(--nt); color: #fff; }

/* ---------- foot of hero ---------- */
.hero__foot {
  position: absolute; left: 26px; right: 26px; bottom: 34px; z-index: 2;
  text-align: center;
  display: grid; gap: 16px; justify-items: center;
}
.hero__foot p { color: var(--ink-45); }
.markets { display: flex; gap: 38px; align-items: center; }
.markets span { font-size: 15px; font-weight: 560; letter-spacing: -0.01em; color: var(--ink-70); }
.markets span:first-child, .markets span:nth-child(2),
.markets span:nth-child(3), .markets span:nth-child(4) { color: var(--ink); }

.chip--lg { width: 60px; height: 60px; font-size: 11.5px; }
.chip--sm { width: 44px; height: 44px; font-size: 10px; }

/* ---------- stacked white surfaces below the hero ---------- */
/* only the hero floats as a card; everything below runs edge to edge */
.band { background: var(--card); }
.band--tint { background: #F7F8F8; }
.band + .band { border-top: 1px solid var(--line); }
.block { padding: 84px 26px; }
.block__head {
  max-width: 1080px; margin-inline: auto;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 48px; align-items: end;
}
.block__title {
  font-size: 43px; line-height: 1.05; letter-spacing: -0.03em; font-weight: 680;
}
.block__title span { color: var(--ink-45); display: block; }
.block__text { font-size: 16.5px; line-height: 1.55; color: var(--ink-70); max-width: 34em; }

.split {
  margin: 56px -26px 0;
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.pane {
  padding: 44px calc((100vw - 1080px) / 2 + 0px) 52px;
  display: grid; gap: 10px; align-content: start;
}
/* the two halves reach the page edge and are divided by one hairline */
.pane:first-child { padding-left: max(26px, calc((100vw - 1080px) / 2)); padding-right: 56px; }
.pane:last-child  { padding-right: max(26px, calc((100vw - 1080px) / 2)); padding-left: 56px; border-left: 1px solid var(--line); }
.pane--nt { background: var(--nt-tint); }
.pane__k { color: var(--ink-45); }
.pane--nt .pane__k { color: var(--nt-deep); }
.pane__title { font-size: 24px; font-weight: 620; letter-spacing: -0.02em; }
.pane__text { font-size: 15px; line-height: 1.55; color: var(--ink-70); }
.pane .btn { justify-self: start; margin-top: 8px; }

.shot { margin: 56px -26px 0; }
.shot img { width: 100%; height: 460px; object-fit: cover; filter: grayscale(0.75) contrast(1.03); }

.marks { display: flex; gap: 46px; margin-top: 36px; max-width: 1080px; margin-inline: auto; }
.marks span {
  font-size: 74px; font-weight: 700; letter-spacing: -0.05em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--line);
}
.marks span:first-child { -webkit-text-stroke-color: var(--nt); }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #fff; padding: 64px 26px 30px; }
.foot__grid {
  max-width: 1080px; margin-inline: auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px;
}
.foot__logo { height: 74px; width: auto; margin-bottom: 18px; }
.foot__tag { font-size: 19px; font-weight: 560; letter-spacing: -0.015em; line-height: 1.35; color: rgba(255,255,255,0.66); }
.foot__col { display: grid; gap: 11px; align-content: start; }
.foot__k { color: rgba(255,255,255,0.5); }
.foot__col a { font-size: 14.5px; color: rgba(255,255,255,0.72); }
.foot__col a:hover { color: #fff; }
.foot__meta { color: rgba(255,255,255,0.5); display: grid; gap: 9px; }
.foot__base {
  max-width: 1080px; margin: 46px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex; justify-content: space-between; gap: 20px;
  color: rgba(255,255,255,0.5);
}

/* ---------- background texture ---------- */
.hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero__grid {
  position: absolute; inset: -10%;
  background-image: radial-gradient(circle, #CFD4D7 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  opacity: 0.9;
  -webkit-mask-image: radial-gradient(72% 66% at 50% 48%, #000 30%, transparent 82%);
  mask-image: radial-gradient(72% 66% at 50% 48%, #000 30%, transparent 82%);
}
.hero__wash {
  position: absolute; left: 50%; top: 52%;
  translate: -50% -50%;
  width: 1240px; height: 820px;
  background:
    radial-gradient(46% 52% at 50% 50%, rgba(18,133,119,0.13), transparent 70%),
    radial-gradient(34% 38% at 20% 28%, rgba(18,133,119,0.08), transparent 72%),
    radial-gradient(30% 34% at 82% 74%, rgba(18,133,119,0.06), transparent 72%);
}
/* a slow lift toward the fold, so the hero is not one flat field */
.hero-wrap { background-image: linear-gradient(#FAFBFB, var(--card) 32%, #F5F7F7); }
/* carry the fold tone into the first band so there is no seam */
.band:first-of-type { background-image: linear-gradient(#F5F7F7, var(--card) 190px); }

/* fine grain over the whole page, fixed so it never repaints on scroll */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.032 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- the deck cycles ---------- */
/* Absolute rows so a position change animates. transform-origin is the top
   edge, so a scaled card keeps the gap it was given by translateY. */
.stack { height: 162px; }
.stack .row {
  position: absolute; left: 0; right: 0; top: 0;
  transform-origin: top center;
  transition: transform 0.8s var(--ease), opacity 0.8s var(--ease),
              box-shadow 0.8s var(--ease);
}
.row[data-pos="0"] { transform: translateY(0)    scale(1);    z-index: 3; }
.row[data-pos="1"] { transform: translateY(48px) scale(0.955); z-index: 2; opacity: 0.9; }
.row[data-pos="2"] { transform: translateY(94px) scale(0.91);  z-index: 1; opacity: 0.72; }
.row[data-pos="1"], .row[data-pos="2"] { box-shadow: 0 8px 20px -16px rgba(15,18,20,0.35); }

@media (prefers-reduced-motion: reduce) {
  .stack .row { transition: none; }
  .nav__bar { transition: none; }
}
