@font-face {
  font-family: "Graphik";
  src:
    local("Graphik"),
    local("Graphik Regular");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --bg: #050507;
  --bg-soft: #111726;
  --text: #f3f5ff;
  --muted: #adb6d2;
  --accent: #a98cff;
  --cta-start: #8d46ff;
  --cta-end: #ff9a3f;
  --card: #141b2d;
  --border: #26304a;
  --max-width: 1080px;
  --radius: 18px;
  --scroll-anim-factor: 1;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Graphik", "Inter", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  position: relative;
  isolation: isolate;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max-width), 92%);
  margin-inline: auto;
}

.bg-parallax {
  display: none;
}

.parallax-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(64px);
  opacity: 0.26;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.glow-purple {
  width: 420px;
  height: 420px;
  top: -140px;
  left: -80px;
  background: radial-gradient(circle, rgba(150, 90, 255, 0.85) 0%, rgba(150, 90, 255, 0) 72%);
}

.glow-orange {
  width: 340px;
  height: 340px;
  top: 14vh;
  right: -90px;
  background: radial-gradient(circle, rgba(255, 145, 61, 0.82) 0%, rgba(255, 145, 61, 0) 72%);
}

.glow-blue {
  width: 360px;
  height: 360px;
  bottom: -120px;
  left: 45%;
  background: radial-gradient(circle, rgba(94, 134, 255, 0.65) 0%, rgba(94, 134, 255, 0) 72%);
}

.section {
  padding: 5rem 0;
}

.section-soft {
  background: linear-gradient(180deg, #101216 0%, #0d0f13 50%, #101216 100%);
}

#about.section-soft {
  background: #17191e;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero h1 {
  font-weight: 700;
  background: linear-gradient(180deg, #f7f8fb 10%, #d5d8df 62%, #aeb4bf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 2rem;
}

p {
  margin-top: 0;
}

.text-accent {
  display: inline-block;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #eea863 0%, #e8889a 50%, #d966a5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(12, 15, 23, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4.3rem;
}

.brand {
  font-weight: 800;
}

.nav-links {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 0;
  color: #7f838f;
  font-weight: 600;
}

.nav-links a:hover,
.mobile-nav a:hover,
.socials a:hover {
  color: var(--text);
}

.nav-links a.is-active,
.mobile-nav a.is-active {
  color: #c6d65a;
}

.menu-btn {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem 0.9rem;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  padding: 0.8rem 4%;
  background: rgba(12, 15, 23, 0.96);
}

.mobile-nav a {
  display: block;
  padding: 0.5rem 0;
  color: var(--muted);
}

.hero-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
}

.hero-copy {
  color: #b7bcce;
  max-width: 58ch;
}

.hero-card {
  padding: 1.3rem;
  background: linear-gradient(160deg, rgba(47, 35, 82, 0.65), rgba(17, 19, 29, 0.85));
  border: 1px solid rgba(190, 156, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 18px 34px rgba(123, 76, 255, 0.12);
}

.hero-card-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.status-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #3ef78f;
  box-shadow: 0 0 12px #3ef78f;
}

.hero-cta {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.78rem 1.3rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(180deg, #f2c55c 0%, #d59e34 100%);
  color: #14110a;
  border: 1px solid rgba(255, 207, 102, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-secondary {
  background: #f8f9ff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #1e2230;
  box-shadow: none;
}

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

.btn-primary:hover {
  filter: brightness(1.03);
}

.projects-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.projects-link {
  color: #d5daeb;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 0.15rem;
}

.projects-subcopy {
  color: #b4bbce;
  max-width: 62ch;
  margin-bottom: 0.9rem;
}

.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.filter-chip {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: #c7cfe3;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

.filter-chip.is-active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  justify-items: center;
}

.work-slider-controls {
  display: none;
}

.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #171922;
  color: #dbe1f5;
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.slider-btn:hover {
  border-color: rgba(204, 176, 255, 0.7);
  transform: translateY(-1px);
}

.work-card {
  width: min(740px, 100%);
  min-height: 420px;
  background: #14161d;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(199, 171, 255, 0.55);
  box-shadow: 0 20px 40px rgba(94, 49, 165, 0.2);
}

.work-card-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.68s ease-out,
    transform 0.78s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--work-card-delay, 0ms);
  will-change: opacity, transform;
}

.work-card-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.work-media {
  height: 300px;
}

.work-media-casestudy2 {
  position: relative;
  overflow: hidden;
  background: #0c0c0f;
}

.work-media-pdf-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: none;
}

.work-media-fitzdo {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 92, 26, 0.35), rgba(255, 92, 26, 0) 42%),
    radial-gradient(circle at 88% 12%, rgba(255, 140, 90, 0.2), rgba(255, 140, 90, 0) 38%),
    linear-gradient(145deg, #2a1810 0%, #120d0a 55%, #0d0d0d 100%);
}

/* Live preview of FITZDO case study hero (scaled iframe) */
.work-media-fitzdo-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .work-media-fitzdo-iframe {
    display: none;
  }
}

.work-media-1 {
  background:
    radial-gradient(circle at 22% 15%, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0) 34%),
    linear-gradient(145deg, #3b4a8f, #181f40 62%, #0f1322);
}

.work-media-2 {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 30%),
    linear-gradient(145deg, #22706a, #18443f 60%, #0c1c1d);
}

.work-media-3 {
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 36%),
    linear-gradient(145deg, #6d3e86, #331d44 58%, #140d1c);
}

.work-media-svgslides {
  position: relative;
  overflow: hidden;
  background: #0c0c0f;
}

.work-media-svgslides-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: none;
}

.work-media-squadra {
  position: relative;
  overflow: hidden;
  background: #0c0c10;
}

.work-media-squadra-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: none;
}

.work-meta {
  padding: 1rem;
}

.work-meta h3 {
  margin-bottom: 0.45rem;
}

.work-meta p {
  margin-bottom: 0;
  color: #b4bbce;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.experience-section {
  background: #f5f5f5;
  color: #111111;
}

.experience-section .eyebrow,
.experience-section .experience-intro {
  color: #5a5a5a;
}

.experience-section h2 {
  color: #0c0c0c;
  text-transform: uppercase;
}

.experience-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 1rem;
}

.exp-symbol {
  display: inline-block;
}

.exp-symbol-star {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(60, 60, 60, 0.9) 0%, rgba(60, 60, 60, 0.15) 35%, rgba(60, 60, 60, 0) 70%),
    radial-gradient(circle, rgba(255, 140, 60, 0.45) 0%, rgba(255, 140, 60, 0) 72%);
  filter: blur(0.2px);
  animation: exp-star-pulse 3.6s ease-in-out infinite;
}

.exp-symbol-lines {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background:
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.55) 0 2px, transparent 2px 9px),
    #e4e4e4;
  border: 1px solid #c0c0c0;
  animation: exp-lines-float 6.4s ease-in-out infinite;
}

.experience-intro {
  max-width: 66ch;
  margin-bottom: 1.35rem;
}

.exp-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.exp-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.15rem;
  background: #ffffff;
  border: 1px solid #d8d8d8;
  padding: 1.05rem 1.45rem;
}

.exp-number {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: #ececec;
  color: #111;
  font-size: 1.35rem;
  border: 1px solid #d0d0d0;
}

.exp-role h3 {
  margin-bottom: 0.25rem;
  font-size: 1.85rem;
  color: inherit;
}

.exp-role p {
  margin-bottom: 0;
  color: inherit;
  opacity: 0.82;
}

.exp-duration {
  margin-bottom: 0;
  border-left: 1px solid currentColor;
  padding-left: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.9rem;
}

.exp-item-active {
  background: #111111;
  color: #efefef;
  border-color: #111111;
  box-shadow: inset 0 0 0 1px rgba(255, 169, 110, 0.22);
}

.exp-item-active .exp-number {
  background: linear-gradient(135deg, #2a2a2a, #181818);
  color: #fff;
  border-color: #444;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.card-art {
  height: 190px;
}

.card-art-1 {
  background: linear-gradient(135deg, #5f7cff, #172f6d);
}

.card-art-2 {
  background: linear-gradient(135deg, #54d6ca, #176168);
}

.card-art-3 {
  background: linear-gradient(135deg, #f2a3ff, #5b2f73);
}

.card-body {
  padding: 1rem;
}

.card-body p {
  color: var(--muted);
}

.card-body a {
  color: var(--accent);
  font-weight: 600;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.focus-card {
  position: relative;
  min-height: 230px;
  background: #000000;
  border: 0;
  border-radius: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.65rem;
  box-shadow: none;
}

.focus-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 0.6px;
  background: linear-gradient(135deg, #000000, #e9393f);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

.focus-card > * {
  position: relative;
  z-index: 1;
}

.focus-wide {
  grid-column: span 2;
  flex-direction: column;
  align-items: flex-start;
}

.focus-card--illustrated {
  position: relative;
  overflow: hidden;
}

.focus-card--illustrated > div {
  position: relative;
  z-index: 2;
  max-width: 52%;
}

.focus-card--illustrated .focus-card-illustration {
  position: absolute;
  left: 0;
  right: auto;
  top: auto;
  bottom: 0;
  width: auto;
  max-width: 50%;
  height: 100%;
  margin: 0;
  display: block;
  object-fit: contain;
  object-position: left bottom;
  transform: scale(2.02);
  transform-origin: left bottom;
  pointer-events: none;
  z-index: 1;
}

.focus-card h3 {
  font-size: clamp(1.2rem, 2vw, 2rem);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.focus-card--visual-line h3 {
  white-space: nowrap;
}

.focus-card--systems-line h3 {
  white-space: nowrap;
}

.focus-card p {
  color: #b6bbcb;
  margin-bottom: 0;
  max-width: 42ch;
}

.focus-icon {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: #000000;
  box-shadow: none;
  border: 0;
  position: relative;
  overflow: hidden;
  animation: focus-float 4.6s ease-in-out infinite;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.focus-icon::before {
  content: none;
}

.focus-icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  right: 14px;
  top: 12px;
  background: radial-gradient(circle, rgba(215, 163, 255, 0.95), rgba(130, 95, 255, 0.72) 55%, rgba(130, 95, 255, 0) 80%);
  box-shadow: 0 0 14px rgba(165, 119, 255, 0.75);
  opacity: 0.9;
}

.focus-card:hover .focus-icon {
  transform: translateY(-3px);
  box-shadow: none;
}

.focus-wide .focus-icon {
  width: 110px;
  height: 110px;
}

.focus-icon-asset {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.focus-card-bg-asset,
.focus-card-bg-asset-2,
.focus-card-bg-asset-3,
.focus-card-bg-asset-4 {
  background: #000000;
  border: 0;
}

.fi-shape {
  position: absolute;
  display: block;
  background: linear-gradient(165deg, #7f8694, #363b44);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.icon-research .fi-panel {
  width: 60px;
  height: 44px;
  left: 14px;
  top: 28px;
  border-radius: 10px;
}

.icon-research .fi-card {
  width: 28px;
  height: 34px;
  right: 13px;
  top: 35px;
  border-radius: 8px;
}

.icon-research .fi-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(165deg, #cb9dff, #766bff);
  box-shadow: 0 0 12px rgba(145, 115, 255, 0.45);
}

.icon-research .fi-dot-a {
  left: 22px;
  top: 39px;
}

.icon-research .fi-dot-b {
  left: 34px;
  top: 39px;
}

.icon-systems .fi-topbar {
  width: 66px;
  height: 4px;
  top: 21px;
  left: 15px;
  border-radius: 999px;
}

.icon-systems .fi-node {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  top: 17px;
}

.icon-systems .fi-node-left {
  left: 9px;
}

.icon-systems .fi-node-mid {
  left: 43px;
}

.icon-systems .fi-node-right {
  right: 9px;
}

.icon-systems .fi-nib {
  width: 34px;
  height: 50px;
  left: 50%;
  top: 34px;
  transform: translateX(-50%);
  clip-path: polygon(50% 0%, 92% 38%, 68% 100%, 32% 100%, 8% 38%);
  border-radius: 8px;
}

.icon-visual .fi-orb {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  left: 45px;
  top: 10px;
}

.icon-visual .fi-blob {
  width: 36px;
  height: 44px;
  left: 18px;
  top: 34px;
  border-radius: 12px;
}

.icon-visual .fi-tri {
  width: 28px;
  height: 26px;
  left: 52px;
  top: 54px;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  border-radius: 5px;
}

.icon-brand .fi-window {
  width: 62px;
  height: 46px;
  left: 12px;
  top: 26px;
  border-radius: 10px;
}

.icon-brand .fi-line {
  width: 26px;
  height: 3px;
  left: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8a8fff, #c08bff);
}

.icon-brand .fi-line-1 {
  top: 36px;
}

.icon-brand .fi-line-2 {
  top: 44px;
}

.icon-brand .fi-line-3 {
  top: 52px;
}

.icon-brand .fi-code {
  width: 22px;
  height: 26px;
  right: 11px;
  top: 44px;
  border-radius: 8px;
}

.icon-research::after {
  right: 12px;
  top: 14px;
}

.icon-systems::after {
  right: 18px;
  top: 10px;
}

.icon-visual::after {
  right: 10px;
  top: 18px;
}

.icon-brand::after {
  right: 14px;
  top: 12px;
}

.icon-research {
  animation-delay: 0s;
}

.icon-systems {
  animation-delay: 0.4s;
}

.icon-visual {
  animation-delay: 0.8s;
}

.icon-brand {
  animation-delay: 1.1s;
}

.contact {
  text-align: center;
  max-width: 760px;
}

.contact .eyebrow {
  color: #b5b6bb;
  font-size: clamp(1.35rem, 2.5vw, 2.8rem);
  text-transform: none;
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}

.contact-title {
  margin-bottom: 1.4rem;
}

.contact-title-line {
  display: block;
  font-size: clamp(1.525rem, 4.7vw, 3.625rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffd878 0%, #eba84d 45%, #da7c49 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-peek {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 0.8rem 1.65rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  color: #14110a;
  background: linear-gradient(180deg, #f2c55c 0%, #d59e34 100%);
  border: 1px solid rgba(255, 207, 102, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-peek:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.site-footer {
  padding: 1.4rem 0 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-wrap p,
.socials {
  color: var(--muted);
}

.socials {
  display: flex;
  gap: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  filter: blur(6px);
  transition:
    opacity calc(1.6s * var(--scroll-anim-factor)) ease,
    transform calc(1.8s * var(--scroll-anim-factor)) cubic-bezier(0.2, 1, 0.3, 1),
    filter calc(1.6s * var(--scroll-anim-factor)) ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal--clip {
  clip-path: inset(0 100% 0 0 round 14px);
  transform: translateY(24px);
}

.reveal--clip.is-visible {
  clip-path: inset(0 0 0 0 round 14px);
}

.reveal--slide-right {
  transform: translateX(-46px);
}

.reveal--slide-right.is-visible {
  transform: translateX(0);
}

.reveal--slide-left {
  transform: translateX(46px);
}

.reveal--slide-left.is-visible {
  transform: translateX(0);
}

.reveal--pop {
  transform: translateY(30px) scale(0.9);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@keyframes exp-star-pulse {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.82;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes exp-lines-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(4deg);
  }
}

@keyframes focus-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .parallax-glow {
    transform: none;
  }

  .exp-symbol-star,
  .exp-symbol-lines,
  .focus-icon {
    animation: none;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .cards,
  .focus-grid {
    grid-template-columns: 1fr;
  }

  .focus-wide {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
  }

  .exp-item {
    grid-template-columns: auto 1fr;
  }

  .experience-head {
    grid-template-columns: 1fr;
  }

  .exp-duration {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid currentColor;
    padding-left: 0;
    padding-top: 0.65rem;
    margin-top: 0.3rem;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    justify-content: flex-end;
  }

  .nav-links {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .mobile-nav[data-open="true"] {
    display: block;
  }

  .hero-cta {
    flex-wrap: wrap;
  }

  .projects-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .work-slider-controls {
    justify-content: flex-start;
  }
}

/* About Me page (about-me.html) — layout inspired by editorial / profile pages */
.about-page {
  position: relative;
  isolation: isolate;
}

.about-page-main {
  position: relative;
  z-index: 1;
}

.about-hero {
  padding-top: 3rem;
  padding-bottom: 0.5rem;
}

.about-greeting {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #f7f8fb 10%, #d5d8df 62%, #aeb4bf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #b7bcce;
  max-width: 58ch;
  line-height: 1.65;
  margin: 0;
}

.about-lead strong {
  color: var(--text);
  font-weight: 600;
}

.about-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.about-socials-panel {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 42rem;
}

.about-socials-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.85rem;
}

.about-socials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.about-socials-list a {
  color: #d5daeb;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 0.15rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.about-section h2 {
  margin-bottom: 1.35rem;
}

.about-story p {
  color: #b7bcce;
  max-width: 62ch;
  line-height: 1.75;
  margin: 0 0 1.15rem;
}

.about-story-lead {
  font-size: 1.06rem;
  color: var(--text);
}

.about-emoji {
  margin-right: 0.35rem;
}

.about-featured-intro {
  color: var(--muted);
  max-width: 50ch;
  margin: -0.6rem 0 1.25rem;
}

.about-featured-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.about-featured-card {
  position: relative;
  display: block;
  padding: 1.35rem 1.25rem 1.5rem;
  margin: 0;
  background: linear-gradient(160deg, rgba(47, 35, 82, 0.45), rgba(17, 19, 29, 0.85));
  border: 1px solid rgba(190, 156, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.about-featured-card:hover {
  transform: translateY(-3px);
  border-color: rgba(190, 156, 255, 0.35);
  box-shadow: 0 18px 36px rgba(123, 76, 255, 0.12);
}

.about-featured-kicker {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.about-featured-title {
  display: block;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
  line-height: 1.35;
  padding-right: 1.75rem;
}

.about-featured-meta {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.about-featured-arrow {
  position: absolute;
  top: 1.05rem;
  right: 1.1rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.45);
}

.about-skills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.about-skills li {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #c7cfe3;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.about-products-note {
  color: var(--muted);
  margin: -0.5rem 0 1rem;
  max-width: 48ch;
}

.about-products {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.about-product-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  background: rgba(12, 15, 23, 0.55);
  color: #b7bcce;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.84rem;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.about-product-icon {
  font-size: 0.9em;
  opacity: 0.8;
}

a.about-product-chip:hover {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
