/* fysix.ai teaser — static, no JavaScript, no external resources.
   Colours taken from the LinkedIn banner images. */
:root {
  --bg: #010322;            /* background of both images */
  --text: #e8eef6;
  --muted: #8fa3bd;
  --line: #13284a;
  --accent: #4fc8ee;        /* cyan glow of the signal wave */
  --linkedin: #f0611f;      /* only the LinkedIn button keeps the orange */
  --linkedin-ink: #160a04;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
}

img { display: block; max-width: 100%; height: auto; }

/* --- Banner (current LinkedIn banner) --- */
.banner img {
  width: 100%;
  height: clamp(120px, 26vw, 360px);
  object-fit: cover;
  object-position: 60% 50%;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
          mask-image: linear-gradient(to bottom, #000 70%, transparent);
}

/* --- Text + transition image --- */
.hero {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.text {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  padding: 2.5rem 1.25rem 1rem;
  margin: 0 auto;
}

.tag {
  margin: 0 0 1.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lead {
  margin: 1.25rem 0 2rem;
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  color: var(--accent);
}

.body,
.soon {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--muted);
}

.soon {
  margin-top: 0.35rem;
  color: var(--text);
  font-weight: 600;
}

.actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: var(--linkedin);
  color: var(--linkedin-ink);
  font-weight: 650;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn:hover { background: #ff7a3d; transform: translateY(-1px); }

.mail {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.3em;
  text-decoration-thickness: 1px;
}

.mail:hover { color: var(--accent); }

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Phone and tablet: the transition image sits below the text. */
.transition img {
  width: 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 80%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 80%, transparent);
}

/* Desktop: the text sits on the dark left side of the transition image,
   the robot hand appears on the right. */
@media (min-width: 900px) {
  .hero { display: flex; align-items: center; min-height: 34rem; }

  .text {
    margin: 0;
    margin-left: max(1.25rem, calc((100vw - 72rem) / 2));
    padding: 2rem 0 3rem;
  }

  .transition {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 68vw;
  }

  .transition img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    -webkit-mask-image:
      linear-gradient(to right, transparent, #000 35%),
      linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
            mask-image:
      linear-gradient(to right, transparent, #000 35%),
      linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
    -webkit-mask-composite: source-in;
            mask-composite: intersect;
  }
}

.foot {
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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