/* ==========================================================================
   Reza Fattahi — Portfolio
   Brand palette (matches application documents) with playful execution:
   accent #00B3B3 · headings #006666 · organic shapes · scroll reveals
   Themes: [data-theme="light"] (default) and [data-theme="dark"]
   ========================================================================== */

:root,
[data-theme="light"] {
  --paper: #f4f9fa;
  --surface: #ffffff;
  --ink: #1e1e1e;
  --muted: #5a6672;
  --teal: #00b3b3;
  --teal-bright: #00d1d1;
  --teal-deep: #006666;
  --teal-tint: #e0f6f6;
  --violet: #8b7cf6;
  --amber: #ffb547;
  --rule: #b4c3d7;
  --rule-soft: #dbe4ee;
  --blob-opacity: 0.55;
  --shadow:
    0 2px 4px rgba(0, 102, 102, 0.05), 0 12px 32px rgba(0, 102, 102, 0.09);

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --radius: 18px;
}

[data-theme="dark"] {
  --paper: #0b1518;
  --surface: #102024;
  --ink: #e6f2f2;
  --muted: #8fa8ad;
  --teal: #00cfcf;
  --teal-bright: #34e2e2;
  --teal-deep: #7fe7e7;
  --teal-tint: #0f2b2e;
  --violet: #a698ff;
  --amber: #ffc76b;
  --rule: #2c4a50;
  --rule-soft: #1c3439;
  --blob-opacity: 0.28;
  --shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 14px 36px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition:
    background 0.35s ease,
    color 0.35s ease;
  overflow-x: hidden;
}

.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--teal-deep);
  margin: 0;
}

h2 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---------- Ambient background blobs ---------- */

.bg-blob {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: var(--blob-opacity);
  pointer-events: none;
  animation: drift 26s ease-in-out infinite alternate;
}

.bg-blob-1 {
  width: 480px;
  height: 480px;
  top: -140px;
  right: -120px;
  background: radial-gradient(circle, var(--teal-bright), transparent 70%);
}

.bg-blob-2 {
  width: 420px;
  height: 420px;
  bottom: -160px;
  left: -140px;
  background: radial-gradient(circle, var(--violet), transparent 70%);
  animation-delay: -8s;
  animation-duration: 32s;
}

.bg-blob-3 {
  width: 300px;
  height: 300px;
  top: 45%;
  left: 55%;
  background: radial-gradient(circle, var(--amber), transparent 70%);
  opacity: calc(var(--blob-opacity) * 0.5);
  animation-delay: -16s;
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-50px, 40px) scale(1.15);
  }
}

/* ---------- Eyebrow labels ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 8px;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule-soft);
  transition: background 0.35s ease;
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--teal-deep);
  text-decoration: none;
  white-space: nowrap;
}

.brand-dot {
  color: var(--teal);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--teal-deep);
}

/* ---------- Header toggle buttons (theme + language) ---------- */

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tool-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--rule-soft);
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  transition:
    transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.15s ease,
    background 0.35s ease;
}

.tool-btn:hover {
  transform: scale(1.12) rotate(6deg);
  border-color: var(--teal);
}

.tool-btn:active {
  transform: scale(0.92);
}

.tool-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

.icon-sun,
.icon-moon,
.flag-de,
.flag-gb {
  transition:
    transform 0.35s ease,
    opacity 0.25s ease;
}

/* theme icon swap */
[data-theme="light"] .icon-moon,
[data-theme="dark"] .icon-sun {
  display: none;
}

/* language flag swap (show current language) */
[data-lang="en"] .flag-de,
[data-lang="de"] .flag-gb {
  display: none;
}

.icon-sun {
  color: var(--amber);
}

.icon-moon {
  color: var(--teal-bright);
}

.flag-round {
  border-radius: 50%;
  overflow: hidden;
}

/* ---------- Hero ---------- */

.hero {
  padding: 68px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.hero-name {
  font-size: clamp(2.5rem, 5.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  background: linear-gradient(
    100deg,
    var(--teal-deep) 20%,
    var(--teal) 60%,
    var(--violet)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* squiggly underline */
.hero-squiggle {
  display: block;
  width: 190px;
  height: 14px;
  margin: 14px 0 20px;
  color: var(--teal);
}

.hero-squiggle path {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: draw 1.1s 0.5s ease forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.hero-lead {
  max-width: 56ch;
  margin: 0;
  text-align: justify;
  hyphens: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.03);
}

.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  background: linear-gradient(120deg, var(--teal), var(--teal-bright));
  color: #04302f;
  box-shadow: 0 4px 14px rgba(0, 179, 179, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(0, 179, 179, 0.45);
}

.btn-ghost {
  border-color: var(--rule);
  color: var(--teal-deep);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--teal);
  background: var(--teal-tint);
}

.btn-block {
  text-align: center;
  flex: 1;
}

.btn-invert {
  background: #ffffff;
  color: #006666;
}

.btn-invert-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.btn-invert-ghost:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- Skills ---------- */

.skills {
  margin: 36px 0 0;
  border-top: 1px solid var(--rule-soft);
}

.skills-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.skills-row dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.skills-row dd {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  color: var(--ink);
  transition:
    transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.15s ease,
    background 0.15s ease;
}

.chip:hover {
  transform: translateY(-2px) rotate(-2deg);
  border-color: var(--teal);
  background: var(--teal-tint);
}

/* ---------- Photo card (organic blob) ---------- */

.hero-card {
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  padding: 22px 18px 18px;
  box-shadow: var(--shadow);
  transition:
    background 0.35s ease,
    border-color 0.35s ease;
}

.portrait-stage {
  position: relative;
  width: 230px;
  margin: 0 auto;
}

.portrait {
  position: relative;
  margin: 0;
  width: 230px;
  height: 230px;
  overflow: hidden;
  background: var(--teal-tint);
  border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%;
  animation:
    blob-morph 14s ease-in-out infinite,
    bob 6s ease-in-out infinite alternate;
  box-shadow: 0 10px 30px rgba(0, 179, 179, 0.25);
}

/* gradient ring behind the blob */
.portrait-stage::before {
  content: "";
  position: absolute;
  inset: -12px;
  z-index: -1;
  background: conic-gradient(
    from 120deg,
    var(--teal),
    var(--violet),
    var(--amber),
    var(--teal)
  );
  border-radius: 55% 45% 50% 50% / 45% 52% 48% 55%;
  filter: blur(14px);
  opacity: 0.5;
  animation:
    blob-morph 14s ease-in-out infinite reverse,
    spin-slow 24s linear infinite;
}

@keyframes blob-morph {
  0%,
  100% {
    border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%;
  }
  33% {
    border-radius: 45% 55% 48% 52% / 55% 45% 58% 42%;
  }
  66% {
    border-radius: 52% 48% 42% 58% / 45% 52% 48% 55%;
  }
}

@keyframes bob {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-8px);
  }
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portrait-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--teal);
  background: linear-gradient(160deg, var(--teal-tint), var(--surface));
}

.portrait.no-photo img {
  display: none;
}

.portrait.no-photo .portrait-fallback {
  display: flex;
}

/* floating sparkles around the photo */
.sparkle {
  position: absolute;
  pointer-events: none;
}

.sparkle svg {
  display: block;
}

.sparkle-1 {
  top: -6px;
  right: -4px;
  color: var(--amber);
  animation:
    twinkle 3s ease-in-out infinite,
    spin-slow 14s linear infinite;
}

.sparkle-2 {
  bottom: 10px;
  left: -16px;
  color: var(--violet);
  animation:
    twinkle 3.6s 0.8s ease-in-out infinite,
    spin-slow 18s linear infinite reverse;
}

.sparkle-3 {
  top: 40px;
  left: -22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal-bright);
  animation:
    twinkle 2.8s 1.4s ease-in-out infinite,
    bob 4s ease-in-out infinite alternate;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.facts {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.facts li:last-child {
  border-bottom: none;
}

.facts-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal-deep);
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 179, 179, 0.45);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(0, 179, 179, 0);
  }
}

.hero-card-links {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

/* ---------- Sections ---------- */

.section {
  padding: 44px 0;
}

.section-head {
  margin-bottom: 26px;
}

/* ---------- Project cards ---------- */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.project-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition:
    border-color 0.2s ease,
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s ease,
    background 0.35s ease;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--teal), var(--violet));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.project-card:hover {
  transform: translateY(-5px) rotate(-0.4deg);
  border-color: var(--teal);
  box-shadow: 0 16px 40px rgba(0, 179, 179, 0.18);
}

.project-card:hover::before {
  opacity: 1;
}

.project-title {
  font-size: 1.08rem;
  font-weight: 700;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 10px 0 0;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.project-route {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}

/* ---------- Contact ---------- */

.contact-panel {
  position: relative;
  background: linear-gradient(135deg, #006666, #009494 60%, #6c5fd0);
  border-radius: calc(var(--radius) + 6px);
  padding: 38px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  overflow: hidden;
}

.contact-panel::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -60px;
  top: -80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  animation: bob 5s ease-in-out infinite alternate;
}

.contact-panel h2 {
  color: #ffffff;
}

.contact-lead {
  color: rgba(255, 255, 255, 0.85);
  margin: 8px 0 0;
  max-width: 44ch;
}

.contact-actions {
  display: flex;
  gap: 12px;
  position: relative;
  z-index: 1;
}

/* ---------- Resume page ---------- */

.resume-frame {
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
  margin-top: 30px;
}

.resume-frame iframe {
  width: 100%;
  height: 80vh;
  border: none;
  border-radius: calc(var(--radius) - 6px);
  background: #ffffff;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule-soft);
  padding: 22px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.22, 0.9, 0.3, 1.2);
  transition-delay: var(--d, 0s);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ---------- Entrance animation (hero) ---------- */

.hero-text > *,
.hero-card {
  animation: rise 0.55s ease both;
}

.hero-text > *:nth-child(2) {
  animation-delay: 0.05s;
}

.hero-text > *:nth-child(3) {
  animation-delay: 0.1s;
}

.hero-text > *:nth-child(4) {
  animation-delay: 0.15s;
}

.hero-text > *:nth-child(5) {
  animation-delay: 0.2s;
}

.hero-text > *:nth-child(6) {
  animation-delay: 0.25s;
}

.hero-card {
  animation-delay: 0.2s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-text > *,
  .hero-card,
  .bg-blob,
  .portrait,
  .portrait-stage::before,
  .sparkle,
  .sparkle-3,
  .status-dot,
  .contact-panel::after,
  .hero-squiggle path {
    animation: none;
  }

  .hero-squiggle path {
    stroke-dashoffset: 0;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .chip:hover,
  .tool-btn:hover,
  .project-card:hover {
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero {
    padding: 36px 0 24px;
  }

  /* Flatten hero-text so its children can be reordered around the photo card */
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .hero-text {
    display: contents;
  }

  .hero-text > .hero-pill {
    order: 1;
  }
  .hero-text > .eyebrow {
    order: 2;
    margin-bottom: 4px;
  }
  .hero-name {
    order: 3;
  }
  .hero-ticker {
    order: 4;
    margin: 10px 0 0;
  }
  .hero-card {
    order: 5;
    max-width: 340px;
    width: 100%;
    margin: 22px auto 0;
  }
  .hero-lead {
    order: 6;
    margin-top: 24px;
  }
  .hero-actions {
    order: 7;
    margin-top: 20px;
  }
  .skills {
    order: 8;
    margin-top: 28px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    font-size: 0.8rem;
  }

  .site-nav .nav-link-optional {
    display: none;
  }

  .contact-panel {
    padding: 26px;
  }
}

/* ---------- Demo credentials note ---------- */

.demo-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
}

.demo-creds strong {
  color: var(--teal-deep);
  font-weight: 500;
}

/* ---------- Skill badges ---------- */

.skills-row dd img {
  height: 22px;
  border-radius: 4px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.skills-row dd img:hover {
  transform: translateY(-2px) rotate(-2deg);
  cursor: default;
}

/* ---------- Modern hero additions ---------- */

.hero {
  position: relative;
}

/* faint dot grid behind the hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    color-mix(in srgb, var(--teal) 35%, transparent) 1px,
    transparent 1px
  );
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 75%);
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.5),
    transparent 75%
  );
  pointer-events: none;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--rule-soft);
  background: color-mix(in srgb, var(--surface) 75%, transparent);
  backdrop-filter: blur(6px);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-deep);
}

/* animated gradient on the name */
.hero-name {
  background-size: 200% 100%;
  animation: gradient-slide 7s ease-in-out infinite alternate;
}

@keyframes gradient-slide {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

/* typewriter line */
.hero-ticker {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 14px 0 22px;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--teal-deep);
  min-height: 1.6em;
}

.ticker-prompt {
  color: var(--teal);
  font-weight: 500;
}

.ticker-caret {
  display: inline-block;
  width: 9px;
  height: 1.15em;
  margin-left: 3px;
  background: var(--teal);
  transform: translateY(3px);
  animation: caret-blink 1s steps(1) infinite;
}

@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}

/* 3D tilt is driven by JS via --rx / --ry */
.hero-card {
  transform: perspective(900px) rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg));
  will-change: transform;
}

/* scroll-down cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  color: var(--teal);
  opacity: 0.7;
  animation: cue-bounce 2s ease-in-out infinite;
  transition: opacity 0.15s ease;
}

.scroll-cue:hover {
  opacity: 1;
}

@keyframes cue-bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(7px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-name,
  .ticker-caret,
  .scroll-cue {
    animation: none;
  }

  .hero-card {
    transform: none;
  }
}

@media (max-width: 860px) {
  .scroll-cue {
    display: none;
  }
}
