/* biz-eu.net stub. Visual rules: skills/landing-page-design (Part B), motion: skills/design-to-motion (website) */

@font-face { font-family: "Geist"; src: url("../fonts/geist-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  /* colors: dark backgrounds only from the approved list */
  --bg: #000000;
  --surface: #181818;
  --surface-2: #1F1F1F;
  --surface-3: #272727;
  --line: #313131;
  --text: #FFFFFF;
  --muted: #9B9B9B;
  --accent: #6EE7A1;
  --warn: #F5C46B;

  /* spacing (B2) */
  --s-25: .125rem; --s-50: .25rem; --s-75: .5rem; --s-100: .75rem; --s-200: 1rem; --s-300: 1.5rem;
  --s-400: 2rem; --s-500: 2.5rem; --s-600: 3rem; --s-700: 4rem; --s-800: 5rem; --s-900: 6rem;

  /* radius: card 24px, inset visual 8px from edge = 16px (B3) */
  --r-card: 1.5rem;
  --r-inset: 1rem;
  --r-sm: .5rem;
  --r-full: 9999px;

  /* motion */
  --ease: cubic-bezier(.22, 1, .36, 1);          /* landing B7 base curve */
  --e: cubic-bezier(.16, 1, .3, 1);              /* design-to-motion: transforms */
  --e2: cubic-bezier(.33, 1, .68, 1);            /* design-to-motion: opacity, blur */
  --io: cubic-bezier(.65, 0, .35, 1);            /* wipes, travel */
  --t-color: 240ms;
  --t-link: 200ms;
  --t-move: 500ms;
  --t-reveal: 700ms;

  --container: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--s-900); }
@media (min-width: 2000px) { html { font-size: max(100%, .8vw); } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", system-ui, sans-serif;
  font-size: 1rem; line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
.mono { font-family: "Geist Mono", ui-monospace, monospace; font-weight: 500; }
.accent { color: var(--accent); }
.i { width: 1.25rem; height: 1.25rem; fill: currentColor; flex: none; }
.i--lg { width: 2rem; height: 2rem; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }

.skip {
  position: absolute; left: var(--s-200); top: var(--s-200); z-index: 100;
  padding: var(--s-75) var(--s-100); background: var(--text); color: var(--bg);
  border-radius: var(--r-sm); font-weight: 600; transform: translateY(-200%);
}
.skip:focus { transform: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s-200); }
.container--narrow { max-width: 48rem; }
@media (min-width: 768px) { .container { padding: 0 var(--s-400); } }

/* buttons (B1 button type, B2 padding, B9 states) */
.btn {
  display: inline-flex; align-items: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-100);
  background: var(--text); color: var(--bg);
  border-radius: var(--r-full);
  font-size: 1rem; line-height: 1.5rem; font-weight: 600; text-decoration: none;
  transition: background-color var(--t-color) var(--ease), transform var(--t-color) var(--ease);
}
.btn:hover { background: #D9D9D9; transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { border-radius: var(--r-full); }
.btn .i { transition: transform var(--t-move) var(--ease); }
.btn:hover .i { transform: translate(2px, -2px); }
.btn--sm { font-size: .875rem; line-height: 1.25rem; padding: var(--s-75) var(--s-200); }

/* nav (B7 navigation: floating, translucent, sized to content) */
.nav-wrap { position: fixed; top: var(--s-200); left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 var(--s-200); pointer-events: none; }
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: var(--s-300);
  padding: var(--s-75);
  padding-left: var(--s-100);
  background: rgb(24 24 24 / .72);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--surface-3);
  border-radius: var(--r-full);
}
.logo { display: inline-flex; align-items: center; gap: var(--s-75); font-weight: 600; text-decoration: none; font-size: 1rem; line-height: 1.5rem; }
.logo__mark { width: 1.75rem; height: 1.75rem; }
.nav__links { display: none; gap: var(--s-300); font-size: .875rem; line-height: 1.25rem; }
.nav__links a { color: var(--muted); text-decoration: none; transition: color var(--t-link) var(--ease); }
.nav__links a:hover { color: var(--text); }
@media (min-width: 640px) { .nav__links { display: flex; } }

/* badge + dot */
.badge {
  display: inline-flex; align-items: center; gap: var(--s-75);
  padding: var(--s-50) var(--s-100);
  border: 1px solid var(--surface-3); border-radius: var(--r-full);
  background: var(--surface);
  color: var(--muted); font-size: .875rem; line-height: 1.25rem;
}
.dot { position: relative; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); flex: none; }
.dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent);
  animation: pulse 2s var(--e2) infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: .55; } to { transform: scale(2.6); opacity: 0; } }

/* hero (B5) */
.hero { padding: var(--s-900) 0 var(--s-800); padding-top: 8.5rem; }
.hero__grid { display: grid; gap: var(--s-700); align-items: center; }
.hero__copy { display: grid; justify-items: start; gap: var(--s-300); }
.hero__title {
  max-width: 42.5rem;
  font-size: 2.25rem; line-height: 2.5rem; letter-spacing: -.02em;
  background: linear-gradient(90deg, #FFFFFF, #9B9B9B);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 767px) { .br-md { display: none; } }
.hero__lead { max-width: 42.5rem; color: var(--muted); font-size: 1.125rem; line-height: 1.75rem; }
.hero__cta { padding-top: var(--s-75); }
.proof { color: var(--muted); font-size: .875rem; line-height: 1.25rem; }
.proof .mono { color: var(--text); }
@media (min-width: 768px) {
  .hero__title { font-size: 3rem; line-height: 1; }
  .hero__lead { font-size: 1.25rem; line-height: 1.75rem; }
}
@media (min-width: 1100px) {
  .hero { padding-top: 10rem; }
  .hero__grid { grid-template-columns: 1.15fr 1fr; gap: var(--s-600); }
}

/* hero intro: CSS keyframes so LCP does not wait for JS */
.hero__copy > * { animation: rise 1.05s var(--e) both, unblur .8s var(--e2) both; }
.hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4) { animation-delay: .24s; }
.hero__copy > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { transform: translateY(10px); } }
@keyframes unblur { from { opacity: 0; filter: blur(4px); } }

/* hero photo: Unsplash, Tyler (@tylergm) */
.photo {
  background: var(--surface); border: 1px solid var(--surface-3); border-radius: var(--r-card);
  padding: var(--s-75);
  animation: card-in .9s var(--e) .3s both, unblur .6s var(--e2) .3s both;
}
@keyframes card-in { from { transform: translateY(24px) scale(.985); filter: blur(6px); } }
.photo img { display: block; width: 100%; height: auto; border-radius: var(--r-inset); }

/* stub page: header, two columns (skills + CTA | photo), footer */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.stub { flex: 1; display: flex; align-items: center; padding: 7rem 0 var(--s-700); }
.stub__grid { display: grid; gap: var(--s-600); align-items: center; }
@media (min-width: 1024px) {
  .stub { padding: 6rem 0 var(--s-600); }
  .stub__grid { grid-template-columns: 1fr 1.2fr; gap: var(--s-700); }
}
.stub__copy { display: grid; justify-items: start; gap: var(--s-500); }
.stub__title {
  max-width: 42.5rem;
  font-size: 1.875rem; line-height: 2.25rem; letter-spacing: -.01em;
  background: linear-gradient(90deg, #FFFFFF, #9B9B9B);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (min-width: 768px) { .stub__title { font-size: 2.25rem; line-height: 2.5rem; } }
.skills { width: 100%; border-top: 1px solid var(--surface-3); }
.skill {
  display: flex; align-items: center; gap: var(--s-200);
  padding: var(--s-200) 0; border-bottom: 1px solid var(--surface-3);
  font-size: 1.25rem; line-height: 1.75rem; font-weight: 600;
}
.skill .i { width: 1.5rem; height: 1.5rem; color: var(--accent); }
@media (min-width: 768px) { .skill { font-size: 1.5rem; line-height: 2rem; } }

.footer { border-top: 1px solid var(--surface-3); padding: var(--s-300) 0; color: var(--muted); font-size: .875rem; line-height: 1.25rem; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-200); }
.footer a { text-decoration: none; transition: color var(--t-link) var(--ease); }
.footer a:hover { color: var(--text); }

/* intro: CSS keyframes, title first so LCP does not wait */
.stub__copy > *, .skill { animation: rise 1.05s var(--e) both, unblur .8s var(--e2) both; }
.skills { animation: none; }
.skill:nth-child(1) { animation-delay: .1s; }
.skill:nth-child(2) { animation-delay: .17s; }
.skill:nth-child(3) { animation-delay: .24s; }
.skill:nth-child(4) { animation-delay: .31s; }
.stub__copy > .btn { animation-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__copy > *, .stub__copy > *, .skill, .photo { animation: unblur 200ms linear both; animation-delay: 0s; }
  .skills { animation: none; }
  .dot::after { animation: none; }
  .btn:hover, .btn:hover .i { transform: none; }
  .btn .i { transition: none; }
}
