:root {
  --blue: #2B3BD1;
  --blue-soft: #5262E0;
  --mint: #CDEBD5;
  --mint-deep: #BDE3C8;
  --accent: #F26A3D;
  --pink: #F7D9CF;
  --pink-deep: #EFC6B8;
  --ink: #10142E;
  --ink-soft: #3A3F63;
  --paper: #FFF6EC;
  --muted-on-ink: #A7ABC9;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Archivo', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--blue); overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
[id] { scroll-margin-top: 24px; }
body { margin: 0; font-family: var(--serif); font-weight: 300; color: var(--ink); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--blue); }
.inv a { color: var(--paper); }
.inv a:hover { color: var(--mint); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 12px 16px; border-radius: 999px; z-index: 10; }
.skip:focus { left: 16px; }

/* motion */
@keyframes drift { from { transform: translate3d(0, var(--d), 0); } to { transform: translate3d(0, calc(var(--d) * -1), 0); } }
@keyframes morph {
  0%, 100% { border-radius: 58% 42% 63% 37% / 45% 55% 45% 55%; }
  50% { border-radius: 42% 58% 37% 63% / 55% 45% 55% 45%; }
}
.px1 { --d: 24px; } .px2 { --d: 70px; } .px3 { --d: 140px; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .px1, .px2, .px3 { animation: drift linear both; animation-timeline: view(); animation-range: cover; }
  }
}
@media (prefers-reduced-motion: no-preference) { .morph { animation: morph 14s ease-in-out infinite; } }

/* layout */
.wrap { position: relative; max-width: 1280px; margin: 0 auto; }
.blob { position: absolute; pointer-events: none; border-radius: 58% 42% 63% 37% / 45% 55% 45% 55%; }
.now .blob, .path .blob { border-radius: 47% 53% 61% 39% / 52% 38% 62% 48%; }
.tools .blob { border-radius: 61% 39% 46% 54% / 44% 58% 42% 56%; }
.eyebrow { margin: 0 0 24px; font-family: var(--sans); font-size: 13px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; }
.h2 { margin: 0; font-weight: 200; font-size: clamp(40px, 5.4vw, 84px); line-height: 1.02; letter-spacing: -.03em; }
.sheet { position: relative; margin-top: -140px; padding: 120px 24px 260px; }
@media (max-width: 640px) { .sheet { margin-top: -100px; padding: 96px 20px 200px; } }

/* hero */
.hero { position: relative; background: var(--blue); color: var(--paper); padding: 28px 24px 260px; }
.nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--sans); font-size: 14px; }
.nav a { text-decoration: none; padding: 12px 0; }
.nav .brand { font-weight: 500; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid #8C97EC; border-radius: 999px; }
.inv .lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 38px; padding: 0 10px; border-radius: 999px; font-weight: 500; font-size: 13px; color: var(--paper); transition: background .3s ease, color .3s ease; }
.inv .lang a[aria-current="true"] { background: var(--paper); color: var(--blue); }
.hero-grid { padding-top: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 56px; align-items: end; }
.hero .eyebrow { margin-bottom: 32px; color: var(--mint); }
.hero h1 { margin: 0; font-weight: 200; font-size: clamp(46px, 6.2vw, 100px); line-height: .98; letter-spacing: -.03em; }
.hero h1 em { color: var(--mint); }
.hero-side { display: flex; flex-direction: column; gap: 28px; padding-bottom: 12px; }
.photo { display: block; align-self: flex-end; width: min(100%, 380px); height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 20% 0%; background: var(--blue-soft); border-radius: 24px 200px 200px 200px; }
.hero-sub { margin: 0; max-width: 440px; font-size: 24px; line-height: 1.5; }
.inv a.cta { align-self: flex-start; display: inline-flex; padding: 18px 32px; border-radius: 999px; background: var(--accent); color: var(--ink); text-decoration: none; font-family: var(--sans); font-size: 15px; font-weight: 500; transition: transform .4s ease; }
.inv a.cta:hover { transform: translateY(-3px); color: var(--ink); }
.hero .blob { left: 40%; bottom: 120px; width: 120px; height: 120px; background: var(--accent); }

/* now */
.now { z-index: 2; background: var(--mint); border-radius: 160px 160px 0 0; }
.now .blob { right: -100px; top: 140px; width: 360px; height: 360px; background: var(--mint-deep); }
.lead { margin: 40px 0 0; max-width: 660px; font-size: 21px; line-height: 1.6; }
.facts { margin-top: 80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.fact { background: var(--paper); padding: 40px 36px; }
.fact-label { margin: 0 0 14px; font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.fact p:last-child { margin: 0; font-size: 21px; line-height: 1.45; }

/* tools */
.tools { z-index: 3; background: var(--accent); border-radius: 0 160px 0 0; }
.tools .blob { left: -140px; top: 420px; width: 360px; height: 360px; background: var(--blue); }
.tools-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; }
.tools-head .h2 { max-width: 780px; }
.tools-head p { margin: 0; max-width: 380px; font-size: 20px; line-height: 1.55; }
.tool-grid { margin-top: 80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 28px; }
.tool { background: var(--paper); padding: 40px 36px 36px; display: flex; flex-direction: column; gap: 16px; min-height: 300px; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.tool:hover { transform: translateY(-6px) rotate(-.6deg); }
.tool-shot { display: block; width: calc(100% + 32px); max-width: none; height: auto; margin: -20px -16px 8px; aspect-ratio: 16 / 10; object-fit: cover; }
.tool-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tool-dot { width: 44px; height: 44px; border-radius: 55% 45% 60% 40% / 50% 60% 40% 50%; }
.status { font-family: var(--sans); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 7px 13px; }
.tool h3 { margin: 8px 0 0; font-weight: 200; font-style: italic; font-size: 46px; line-height: 1; letter-spacing: -.02em; }
.tool h3 a { text-decoration: none; }
.tool h3 a::after { content: ' ↗'; font-style: normal; font-size: .5em; vertical-align: super; }
.tool-desc { margin: 0; font-size: 19px; line-height: 1.5; flex-grow: 1; }
.tool-stack { margin: 0; font-family: var(--sans); font-size: 12px; color: var(--ink-soft); }

/* path */
.path { z-index: 4; background: var(--pink); border-radius: 160px 0 0 0; }
.path .blob { right: 6%; top: 90px; width: 190px; height: 190px; background: var(--pink-deep); }
.path .h2 { max-width: 860px; }
.steps { list-style: none; margin: 80px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 40px; }
.step { display: flex; flex-direction: column; gap: 12px; padding-top: 28px; border-top: 1px solid var(--ink); }
.step-when { font-family: var(--sans); font-size: 13px; color: var(--blue); }
.step strong { font-weight: 400; font-size: 30px; letter-spacing: -.01em; }
.step-text { font-size: 19px; line-height: 1.5; }
.education { margin: 64px 0 0; font-style: italic; font-size: 21px; }
.more { margin: 56px 0 0; padding-top: 40px; border-top: 1px solid var(--ink); max-width: 820px; font-weight: 200; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.2; letter-spacing: -.015em; }
.more span { font-style: italic; }
.more a { font-family: var(--sans); font-weight: 500; font-size: 16px; letter-spacing: .02em; white-space: nowrap; display: inline-block; margin-top: 16px; padding: 14px 24px; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; transition: transform .4s ease; }
.more a:hover { color: var(--paper); transform: translateY(-3px); }

/* contact */
.contact { z-index: 5; background: var(--ink); color: var(--paper); border-radius: 160px 160px 0 0; padding-bottom: 56px; }
.contact .blob { right: 10%; top: 70px; width: 150px; height: 150px; background: var(--accent); }
.contact .eyebrow { color: var(--mint); }
.contact h2 { margin: 0; font-weight: 200; font-size: clamp(56px, 8vw, 132px); line-height: .92; letter-spacing: -.035em; }
.mail { margin: 48px 0 0; font-size: clamp(22px, 2.6vw, 34px); }
.socials { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 32px; font-family: var(--sans); font-size: 15px; }
.socials a { padding: 12px 0; }
.foot { margin: 110px 0 0; font-family: var(--sans); font-size: 12px; color: var(--muted-on-ink); }

@media (max-width: 640px) {
  .now, .contact { border-radius: 80px 80px 0 0; }
  .tools { border-radius: 0 80px 0 0; }
  .path { border-radius: 80px 0 0 0; }
  .photo { border-radius: 16px 140px 140px 140px; }
}
