/* ---------- Tokens ---------- */
:root {
  --bg: #161c27;
  --bg-elev: #1b2230;
  --bg-card: #212a3a;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef3f8;
  --text-muted: #9aa7b8;
  --teal: #1aa999;
  --teal-bright: #00ffb9;
  --teal-deep: #00b9ad;
  --aqua: #89d7ec;
  --mind: #00ffb9;
  --form: #89d7ec;
  --matter: #00b9ad;
  --aqua-light: #e8fbff;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', var(--font-body);
  --radius: 12px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--aqua);
  text-decoration: none;
  transition: color 0.2s;
}

p a,
small a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

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

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--teal);
  color: #0d1a1a;
  font-weight: 600;
  border-radius: 999px;
  transform: translateY(-200%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: none;
}

a:hover {
  color: var(--aqua-light);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

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

h3 {
  font-size: 1.375rem;
}

p {
  margin: 0 0 1.25rem;
}

.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

.section {
  padding-block: clamp(5rem, 10vw, 9rem);
  position: relative;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 1rem;
}

.section__lead {
  color: var(--text-muted);
  max-width: 60ch;
  font-size: 1.125rem;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  position: relative;
}

.link::after {
  content: '→';
  transition: transform 0.25s var(--ease);
}

.link:hover::after {
  transform: translateX(4px);
}

/* ---------- Icon helper (external SVG via <use>, tinted with currentColor) ---------- */
.icon {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

.icon--lg {
  width: 2.5rem;
  height: 2.5rem;
}

/* ---------- Cursor glow & progress ---------- */
.cursor-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    600px circle at var(--mx, 50%) var(--my, 30%),
    rgba(26, 169, 153, 0.14),
    transparent 60%
  );
  transition: opacity 0.4s;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
  background: linear-gradient(90deg, var(--teal), var(--teal-bright));
  z-index: 60;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s, padding 0.3s;
}

.site-header.is-scrolled {
  background: rgba(22, 28, 39, 0.75);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 0.625rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  margin-right: auto;
}

.brand__logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 1px;
  background: var(--teal-bright);
  transition: right 0.3s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
}

.nav a:hover::after,
.nav a.is-active::after {
  right: 0;
}

.lang {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px;
  background: rgba(255, 255, 255, 0.03);
}

.lang__btn {
  all: unset;
  cursor: pointer;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
}

.lang__btn.is-active {
  background: var(--teal);
  color: #0d1a1a;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: drift 24s ease-in-out infinite alternate;
}

.blob--1 {
  width: 55vw;
  height: 55vw;
  background: #1aa999;
  top: -20vw;
  right: -15vw;
}

.blob--2 {
  width: 40vw;
  height: 40vw;
  background: #2b5f9e;
  bottom: -15vw;
  left: -10vw;
  animation-duration: 30s;
  animation-delay: -8s;
}

.blob--3 {
  width: 25vw;
  height: 25vw;
  background: #89d7ec;
  top: 40%;
  left: 45%;
  opacity: 0.18;
  animation-duration: 20s;
  animation-delay: -14s;
}

@keyframes drift {
  to {
    transform: translate(6vw, 4vw) scale(1.12);
  }
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: 0.5;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 3rem;
  padding-block: 4rem;
}

.hero__title {
  font-size: clamp(2.75rem, 6.5vw, 5.25rem);
  font-weight: 700;
  margin-bottom: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.3em;
}

.hero__word {
  opacity: 0;
  transform: translateY(0.3em);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.hero__title.is-visible .hero__word {
  opacity: 1;
  transform: none;
}

.hero__word--mind {
  color: var(--mind);
}

.hero__word--form {
  color: var(--form);
  transition-delay: 0.2s;
}

.hero__word--matter {
  color: var(--matter);
  transition-delay: 0.4s;
}

.hero__keyline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 0;
  max-width: 720px;
}

.hero__keyline dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.hero__keyline div:nth-child(1) dt {
  color: var(--mind);
}

.hero__keyline div:nth-child(2) dt {
  color: var(--form);
}

.hero__keyline div:nth-child(3) dt {
  color: var(--matter);
}

.hero__keyline dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.hero__logo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 480px;
  justify-self: center;
  width: 100%;
}

.hero__ring {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px solid rgba(137, 215, 236, 0.25);
  animation: spin 40s linear infinite;
}

.hero__ring::before,
.hero__ring::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 20px var(--teal-bright);
}

.hero__ring::before {
  top: -5px;
  left: 50%;
}

.hero__ring::after {
  bottom: 20%;
  left: 2%;
  background: var(--aqua);
  box-shadow: 0 0 16px var(--aqua);
}

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

.hero__svg {
  width: 72%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(137, 215, 236, 0.15), 0 40px 120px -20px rgba(0, 185, 173, 0.6);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid var(--text-muted);
  border-radius: 999px;
  opacity: 0.7;
}

.scroll-hint span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--teal-bright);
  animation: wheel 1.8s ease-in-out infinite;
}

@keyframes wheel {
  50% {
    transform: translateY(12px);
    opacity: 0.2;
  }
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.about__portrait {
  position: relative;
  padding-top: 1.5rem;
}

.about__portrait-bg {
  position: absolute;
  inset: 10% 5% 15%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 50% 40%,
    rgba(137, 215, 236, 0.55) 0%,
    rgba(26, 169, 153, 0.35) 35%,
    transparent 70%
  );
  filter: blur(40px);
  z-index: -1;
}

.about__portrait img {
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 1px rgba(137, 215, 236, 0.6));
  mask-image: linear-gradient(black 85%, transparent);
  -webkit-mask-image: linear-gradient(black 85%, transparent);
}

.about__title {
  margin-bottom: 0.5rem;
}

.about__role {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
}

.about__text p {
  color: var(--text-muted);
}

.about__text .lead {
  font-size: 1.125rem;
  color: var(--text);
}

.stats {
  list-style: none;
  padding: 0;
  margin: 3rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stats li {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 0.5rem;
}

.stats span {
  font-size: 0.875rem;
  color: var(--text);
}

/* ---------- Competences ---------- */
.skills {
  background: var(--bg-elev);
}

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

.card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--cx, 50%) var(--cy, 0%), rgba(0, 255, 185, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 255, 185, 0.3);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

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

.card .icon {
  color: var(--teal-bright);
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.25rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.9875rem;
  margin: 0;
}

/* ---------- Values ---------- */
.values__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.values__list li {
  position: relative;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--form) 45%, transparent);
}

.values__list li:nth-child(1) {
  border-top-color: color-mix(in srgb, var(--mind) 45%, transparent);
}

.values__list li:nth-child(3) {
  border-top-color: color-mix(in srgb, var(--matter) 45%, transparent);
}

.values__word {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--form);
  margin-bottom: 0.75rem;
}

.values__list li:nth-child(1) .values__word {
  color: var(--mind);
}

.values__list li:nth-child(3) .values__word {
  color: var(--matter);
}

.values__list h3 {
  margin-bottom: 0.75rem;
}

.values__list p {
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Work ---------- */
.work {
  background: var(--bg-elev);
}

.case {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.case__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.case--reverse .case__grid {
  grid-template-columns: 1fr 1.3fr;
}

.case--reverse .case__media {
  order: 2;
}

.case__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line);
  transition: transform 0.6s var(--ease);
}

.case__media img {
  display: block;
  width: 100%;
}

.case__media--duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  box-shadow: none;
  overflow: visible;
  margin-bottom: 2.5rem;
}

.case__media--duo img {
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line);
}

.case__media--duo img:last-child {
  transform: translateY(2.5rem);
}

.case__label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 0.75rem;
}

.case__text h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.case__text p {
  color: var(--text-muted);
}

/* logo grid */
.case__media--logos {
  overflow: visible;
  box-shadow: none;
}

.logo-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.logo-grid li {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}

.logo-grid li:hover {
  transform: translateY(-4px);
  border-color: rgba(137, 215, 236, 0.35);
}

.logo-grid img {
  width: 60%;
  height: auto;
  border-radius: 18%;
  transition: none;
}

.logo-grid .logo--code img {
  width: 78%;
}

.logo-grid .logo--mlinux {
  background: #eef3f8;
  border-color: transparent;
}

.logo-grid .logo--mlinux img {
  width: 92%;
}


.logo-grid .logo--spark img {
  width: 112%;
}


/* desktop + phone composition */
.case__media--devices {
  position: relative;
  overflow: visible;
  box-shadow: none;
  padding-bottom: 16%;
  padding-right: 6%;
}

.case__media--devices .case__desktop {
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line);
}

.case__media--devices .case__phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 22%;
  border-radius: 12px;
  border: 3px solid #2a3344;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line);
  background: #000028;
}

/* ---------- Common design language: diamonds ---------- */
.case__text--wide {
  max-width: 60ch;
}

.diamonds {
  list-style: none;
  padding: 0;
  margin: 4.5rem 0 1rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}

.diamond {
  text-align: center;
}

.diamond__shape {
  aspect-ratio: 1;
  position: relative;
}

.diamond__shape::before {
  content: '';
  position: absolute;
  inset: 8%;
  border-radius: 14%;
  transform: rotate(45deg);
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

.diamond:nth-child(3n + 1) {
  --accent: var(--mind);
}

.diamond:nth-child(3n + 2) {
  --accent: var(--form);
}

.diamond:nth-child(3n) {
  --accent: var(--matter);
}

.diamond:hover .diamond__shape::before {
  transform: rotate(45deg) scale(1.06);
  border-color: var(--accent);
  box-shadow: 0 20px 50px -20px var(--accent);
}

.diamond__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24%;
}

.diamond__inner .icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.diamond__inner h4 {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

.diamond > p {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
}

/* ---------- Icon wall ---------- */
.icon-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 3rem;
  padding: 0;
  list-style: none;
}

.icon-tile {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--bg);
  box-shadow: inset -1px -1px 0 var(--line);
  color: var(--text-muted);
  transition: background 0.3s, color 0.3s;
  cursor: default;
}

.icon-tile .icon {
  width: 36%;
  height: 36%;
  transition: transform 0.4s var(--ease);
}

.icon-tile:hover {
  background: var(--bg-card);
  color: var(--teal-bright);
  z-index: 1;
}

.icon-tile:hover .icon {
  transform: scale(1.35);
}

.icon-tile__name {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.icon-tile:hover .icon-tile__name {
  opacity: 1;
  transform: none;
}

.icons__footer {
  margin-top: 2.5rem;
}

/* ---------- Identity / flatlay ---------- */
.identity {
  background: var(--bg-elev);
}

.flatlay {
  position: relative;
  margin-top: 3.5rem;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background:
    radial-gradient(60% 70% at 30% 30%, rgba(0, 185, 173, 0.22), transparent 70%),
    radial-gradient(50% 60% at 80% 80%, rgba(137, 215, 236, 0.14), transparent 70%),
    #0c1d2c;
  border: 1px solid var(--line);
  overflow: hidden;
}

.flatlay__item {
  position: absolute;
  will-change: transform;
}

.flatlay__item--front {
  left: 8%;
  top: 18%;
  width: 40%;
  rotate: -6deg;
  z-index: 3;
}

.flatlay__item--back {
  left: 34%;
  top: 46%;
  width: 40%;
  rotate: 4deg;
  z-index: 2;
}

.flatlay__item--logo {
  right: 9%;
  top: 10%;
  width: 22%;
  z-index: 4;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6));
}

.flatlay__item--logo img {
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(137, 215, 236, 0.2);
}

.flatlay__item--tag {
  right: 6%;
  bottom: 12%;
  width: 20%;
  padding: 1.1em 1.4em;
  background: #000028;
  border-radius: 10px;
  rotate: -3deg;
  z-index: 1;
  box-shadow: 0 24px 40px -16px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--line);
}

.flatlay__item--tag img {
  width: 100%;
  height: auto;
}

/* business card, 85 x 55 */
.bizcard {
  position: relative;
  aspect-ratio: 85 / 55;
  border-radius: 6px;
  background: #0c1d2c;
  box-shadow: 0 30px 50px -18px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  container-type: inline-size;
}

.bizcard__band {
  position: absolute;
  inset: 0 auto 0 0;
  width: 33%;
  background: #00a996;
}

.bizcard__logo {
  position: absolute;
  left: 33%;
  top: 50%;
  width: 30%;
  translate: -50% -50%;
  border-radius: 50%;
}

.bizcard__text {
  position: absolute;
  left: 53%;
  top: 50%;
  translate: 0 -50%;
  display: flex;
  flex-direction: column;
  gap: 0.6cqw;
  color: #fff;
  font-family: var(--font-display);
}

.bizcard__text strong {
  font-size: 5.2cqw;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.bizcard__text span {
  font-size: 3.4cqw;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-body);
}

.bizcard__mail {
  margin-top: 1.2cqw;
  color: var(--aqua) !important;
}

.bizcard--back {
  display: grid;
  place-items: center;
}

.bizcard__claim {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 8.5cqw;
  letter-spacing: -0.02em;
  color: #fff;
}

.bizcard__claim em {
  font-style: normal;
}

.c-mind {
  color: var(--mind);
}

.c-form {
  color: var(--form);
}

.c-matter {
  color: var(--matter);
}

@media (max-width: 860px) {
  .flatlay {
    aspect-ratio: 4 / 5;
  }

  .flatlay__item--front {
    left: 6%;
    top: 10%;
    width: 70%;
  }

  .flatlay__item--back {
    left: 24%;
    top: 36%;
    width: 70%;
  }

  .flatlay__item--logo {
    right: auto;
    left: 10%;
    top: auto;
    bottom: 8%;
    width: 36%;
  }

  .flatlay__item--tag {
    right: 8%;
    bottom: 14%;
    width: 38%;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 3rem;
  background: var(--bg-elev);
}

.site-footer__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-footer__brand img {
  border-radius: 50%;
}

.site-footer__brand strong {
  display: block;
  font-family: var(--font-display);
}

.site-footer__brand span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.site-footer__mail {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
}

.site-footer__legal {
  width: 100%;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    background: rgba(22, 28, 39, 0.96);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0s 0.3s;
  }

  .nav a {
    font-size: 1.75rem;
    font-family: var(--font-display);
  }

  body.menu-open .nav {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s;
  }

  body.menu-open {
    overflow: hidden;
  }

  /* backdrop-filter would make the header the containing block of the fixed nav */
  body.menu-open .site-header {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }

  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 2;
  }

  body.menu-open .brand,
  body.menu-open .lang {
    position: relative;
    z-index: 2;
  }

  body.menu-open .menu-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .brand__name {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__title {
    justify-content: center;
  }

  .hero__keyline {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: left;
    margin-inline: auto;
  }

  .hero__logo {
    order: -1;
    max-width: 280px;
  }

  .about__grid,
  .case__grid,
  .case--reverse .case__grid {
    grid-template-columns: 1fr;
  }

  .diamonds {
    grid-template-columns: repeat(3, 1fr);
  }

  .case__media--devices {
    padding-bottom: 18%;
  }

  .case__media--devices .case__phone {
    right: 0;
  }

  .about__title {
    align-items: center;
  }

  .case--reverse .case__media {
    order: 0;
  }

  .about__portrait {
    max-width: 360px;
    margin-inline: auto;
  }

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

  .scroll-hint {
    display: none;
  }
}

@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
  }

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

  .diamonds {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .icon-wall {
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  }

  .icon-tile__name {
    display: none;
  }
}

@media (hover: none) {
  .cursor-glow {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

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