/* ==========================================================================
   Freelance page — its own identity, shared with the freelance video:
   ink background, yellow and violet in large flat areas, Bricolage
   Grotesque headlines, and the offset violet shadow as a signature.
   ========================================================================== */

/* Latin subsets from Google Fonts, variable (Bricolage: opsz + wght). The
   URLs match the preloads in _includes/freelance.njk. */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0e0d16;
  --ink-2: #16141f;
  --ink-3: #201d2d;
  --line: rgb(255 255 255 / 0.1);
  --line-2: rgb(255 255 255 / 0.18);
  --paper: #ffffff;
  --mute: rgb(255 255 255 / 0.68);
  --y: #ffdd33;
  --v: #6c4bff;
  --v-text: #a391ff; /* violet readable as small text on ink */
  --v-deep: #4a2fd6; /* violet readable on yellow */

  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --r: 20px;
  --r-lg: 28px;
  --gutter: clamp(16px, 4vw, 32px);

  color-scheme: dark;
}

/* ─── Base ─── */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* Film grain over everything: flat colour areas stop looking digital. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background-color: var(--y);
  color: var(--ink);
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p,
figure,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background-color: var(--y);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  flex: none;
}

/* ─── Buttons: the video's pill with its offset violet shadow ─── */

.btn {
  --shadow: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.9em 1.5em;
  border: 0;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease),
    background-color 220ms var(--ease),
    color 220ms var(--ease);
}

.btn .icon {
  transition: transform 220ms var(--ease);
}

.btn:hover .icon:last-child {
  transform: translateX(3px);
}

.btn--y,
.btn--ink {
  box-shadow: var(--shadow) var(--shadow) 0 var(--v);
}

.btn--y {
  background-color: var(--y);
  color: var(--ink);
}

.btn--ink {
  background-color: var(--ink);
  color: var(--paper);
}

.btn--y:hover,
.btn--ink:hover {
  transform: translate(-2px, -2px);
  box-shadow: calc(var(--shadow) + 2px) calc(var(--shadow) + 2px) 0 var(--v);
}

.btn--y:active,
.btn--ink:active {
  transform: translate(var(--shadow), var(--shadow));
  box-shadow: 0 0 0 var(--v);
  transition-duration: 80ms;
}

.btn--ghost {
  border: 1.5px solid var(--line-2);
  background-color: rgb(255 255 255 / 0.04);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: var(--paper);
  background-color: rgb(255 255 255 / 0.08);
}

.btn--sm {
  --shadow: 3px;
  padding: 0.7em 1.1em;
  font-size: 0.9rem;
}

.btn--lg {
  padding: 1.05em 1.7em;
  font-size: 1.05rem;
}

.btn__play {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--paper);
  color: var(--ink);
}

.btn__play .icon {
  margin-left: 2px;
}

/* ─── Header: a floating glass pill ─── */

.bar {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 50;
  padding-inline: var(--gutter);
  pointer-events: none;
}

.bar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1100px;
  margin-inline: auto;
  padding: 8px 8px 8px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  pointer-events: auto;
  transition:
    background-color 300ms var(--ease),
    border-color 300ms var(--ease),
    box-shadow 300ms var(--ease);
}

.bar.is-scrolled .bar__inner {
  border-color: var(--line);
  background-color: rgb(14 13 22 / 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 12px 40px -12px rgb(0 0 0 / 0.6);
}

.bar__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.bar__mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background-color: var(--y);
  color: var(--ink);
  font-size: 1.05rem;
  box-shadow: 3px 3px 0 var(--v);
  transform: rotate(-6deg);
  transition: transform 400ms var(--spring);
}

.bar__logo:hover .bar__mark {
  transform: rotate(6deg) scale(1.06);
}

.bar__dot {
  color: var(--y);
}

.bar__links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.bar__links a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--mute);
  font-size: 0.93rem;
  font-weight: 500;
  transition:
    color 200ms var(--ease),
    background-color 200ms var(--ease);
}

.bar__links a:hover {
  color: var(--paper);
  background-color: rgb(255 255 255 / 0.07);
}

@media (max-width: 820px) {
  .bar__links {
    display: none;
  }

  .bar__inner > .btn {
    margin-left: auto;
  }
}

/* ─── Section heads ─── */

.sec {
  position: relative;
  padding-block: clamp(88px, 12vw, 168px);
}

.head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--y);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background-color: currentColor;
  transform: rotate(45deg);
}

.head__title {
  font-family: var(--display);
  font-size: clamp(2.3rem, 1.3rem + 3.8vw, 4.4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.head__title em,
.contact__title em {
  font-style: normal;
  color: var(--y);
}

.head__lede {
  max-width: 56ch;
  margin-top: 20px;
  color: var(--mute);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  text-wrap: pretty;
}

.head--center .head__lede {
  margin-inline: auto;
}

.head__lede a {
  color: var(--y);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ─── Hero ─── */

.hero {
  position: relative;
  min-height: 100svh;
  padding-block: clamp(120px, 16vh, 168px) clamp(64px, 10vh, 112px);
  overflow: clip;
  isolation: isolate;
}

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

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.orb--v {
  top: -20%;
  right: -12%;
  width: min(900px, 90vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgb(108 75 255 / 0.75), rgb(108 75 255 / 0) 65%);
  animation: drift 18s ease-in-out infinite alternate;
}

.orb--y {
  bottom: -30%;
  left: -18%;
  width: min(700px, 80vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgb(255 221 51 / 0.22), rgb(255 221 51 / 0) 65%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  to {
    transform: translate(-6%, 8%) scale(1.1);
  }
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%);
}

.hero__inner {
  display: grid;
  align-items: center;
  gap: clamp(48px, 6vw, 72px);
}

@media (min-width: 1040px) {
  .hero__inner {
    grid-template-columns: 1.08fr 0.92fr;
  }
}

.hero__text {
  container-type: inline-size;
}

.hero__title {
  font-family: var(--display);
  font-size: clamp(2.6rem, 1.2rem + 4.6vw, 5.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.line {
  display: block;
}

.line--swap {
  margin-block: 0.08em 0.14em;
}

/* The word that changes: a yellow tag like the video's, whose width follows
   the word (set by freelance.js). Every word sits in the same grid cell. */
.swap {
  display: inline-grid;
  align-items: center;
  width: var(--w, auto);
  padding: 0.04em 0.26em 0.1em;
  border-radius: 0.2em;
  background-color: var(--y);
  color: var(--ink);
  /* Capped by the column: the longest word is about 8.5em wide. */
  font-size: min(0.9em, 11cqi);
  white-space: nowrap;
  box-shadow: 0.09em 0.09em 0 var(--v);
  transform: rotate(-1.8deg);
  transition: width 650ms var(--ease);
  overflow: hidden;
}

.swap__word {
  grid-area: 1 / 1;
  justify-self: start;
  opacity: 0;
  transform: translateY(70%);
  filter: blur(6px);
  transition:
    opacity 450ms var(--ease),
    transform 650ms var(--ease),
    filter 450ms var(--ease);
}

.swap__word.is-on {
  opacity: 1;
  transform: none;
  filter: none;
}

.swap__word.is-out {
  transform: translateY(-70%);
}

.hero__intro {
  max-width: 50ch;
  margin-top: 28px;
  color: var(--mute);
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  color: var(--mute);
  font-size: 0.92rem;
  font-weight: 500;
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__trust .icon {
  color: var(--y);
}

/* Entrance: each hero element rises in turn. */
.js .hero__text > *,
.js .hero__lines .line,
.js .hero__visual {
  animation: rise 1s var(--ease) both;
}

.js .hero__lines .line:nth-child(1) { animation-delay: 0.12s; }
.js .hero__lines .line:nth-child(2) { animation-delay: 0.22s; }
.js .hero__lines .line:nth-child(3) { animation-delay: 0.32s; }
.js .hero__intro { animation-delay: 0.45s; }
.js .hero__actions { animation-delay: 0.55s; }
.js .hero__trust { animation-delay: 0.65s; }
.js .hero__visual { animation-delay: 0.35s; animation-duration: 1.4s; }

.js .hero__title {
  animation: none;
}

/* Opacity and transform only: both run on the compositor, where an animated
   blur would repaint every element on every frame. */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
}

/* ─── Hero visual: a browser and a phone showing the current kind ─── */

.hero__visual {
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
}

.stage {
  position: relative;
  aspect-ratio: 1.1;
  transform: perspective(1600px) rotateY(var(--ry, -9deg)) rotateX(var(--rx, 5deg));
  transform-style: preserve-3d;
  transition: transform 700ms var(--ease);
}

.browser {
  position: absolute;
  top: 9%;
  left: 0;
  width: 88%;
  overflow: hidden;
  border-radius: 14px;
  background-color: var(--paper);
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.1),
    0 50px 100px -30px rgb(0 0 0 / 0.8),
    0 30px 120px -40px rgb(108 75 255 / 0.9);
  transition:
    transform 700ms var(--ease),
    opacity 700ms var(--ease);
}

.browser__bar {
  position: relative;
  display: flex;
  align-items: center;
  height: 34px;
  padding-inline: 14px;
  background-color: #efedf6;
  border-bottom: 1px solid #e2dfee;
}

.browser__dots {
  display: flex;
  gap: 6px;
}

.browser__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #d6d2e4;
}

.browser__dots span:nth-child(1) { background-color: #ff6159; }
.browser__dots span:nth-child(2) { background-color: #ffbd2e; }
.browser__dots span:nth-child(3) { background-color: #28c941; }

.browser__url {
  position: absolute;
  left: 50%;
  padding: 3px 28px;
  border-radius: 7px;
  background-color: var(--paper);
  color: #6b6780;
  font-size: 11px;
  font-weight: 500;
  transform: translateX(-50%);
}

.browser__view,
.phone__view,
.mini-browser__view,
.mini-phone__view {
  position: relative;
  overflow: hidden;
  container-type: size;
  background-color: var(--paper);
}

.browser__view {
  aspect-ratio: 16 / 10.5;
}

.phone {
  position: absolute;
  right: 0;
  bottom: 3%;
  width: 29%;
  aspect-ratio: 9 / 19;
  padding: 2.2%;
  border-radius: 18% / 8.5%;
  background-color: #0a0911;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.14),
    inset 0 0 0 2px #25222f,
    0 40px 80px -20px rgb(0 0 0 / 0.85);
  transform: translateZ(60px);
  transition: transform 700ms var(--spring);
}

.phone__view {
  height: 100%;
  border-radius: 15% / 7%;
}

.phone__view::before {
  content: "";
  position: absolute;
  top: 2.4%;
  left: 50%;
  z-index: 2;
  width: 32%;
  height: 3.6%;
  border-radius: 999px;
  background-color: #0a0911;
  transform: translateX(-50%);
}

.stage[data-kind="mobile"] .phone {
  transform: translateZ(90px) translate(-8%, -6%) scale(1.16);
}

.stage[data-kind="mobile"] .browser {
  opacity: 0.55;
  transform: scale(0.95);
}

.view {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 500ms var(--ease),
    transform 800ms var(--ease);
}

.view.is-on {
  opacity: 1;
  transform: none;
}

.float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background-color: rgb(24 22 36 / 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -12px rgb(0 0 0 / 0.7);
  font-size: clamp(0.72rem, 0.6rem + 0.4vw, 0.85rem);
  font-weight: 600;
  white-space: nowrap;
  transform: translateZ(120px);
  animation: bob 6s ease-in-out infinite;
}

.float .icon {
  box-sizing: content-box;
  padding: 5px;
  border-radius: 50%;
  background-color: var(--y);
  color: var(--ink);
}

.float--1 { top: 0; right: 14%; }
.float--2 { top: 46%; left: -4%; animation-delay: -2s; }
.float--3 { bottom: -2%; left: 22%; animation-delay: -4s; }

.float--2 .icon {
  background-color: var(--v);
  color: var(--paper);
}

@keyframes bob {
  50% {
    translate: 0 -10px;
  }
}

/* ─── Wireframes (partials/freelance-mocks.njk) ───
   Sized in container units, so the same markup draws the hero browser and
   the small tile previews alike. */

.scr,
.pscr {
  --m-ink: #1b1830;
  --m-line: #dcd8ea;
  --m-soft: #f5f3fb;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--paper);
}

.scr {
  gap: 3cqw;
  padding: 3cqw 4.2cqw 4cqw;
}

:where(.scr, .pscr) span {
  display: block;
}

.m-nav {
  display: flex;
  align-items: center;
  gap: 2cqw;
  height: 4cqw;
}

.m-logo {
  width: 6cqw;
  height: 2.8cqw;
  border-radius: 0.9cqw;
  background-color: var(--v);
}

.m-links {
  display: flex;
  gap: 1.8cqw;
  margin-left: auto;
}

.m-links span {
  width: 5.5cqw;
  height: 1.1cqw;
  border-radius: 1cqw;
  background-color: var(--m-line);
}

.m-h {
  width: 82%;
  height: 3.3cqw;
  border-radius: 0.8cqw;
  background-color: var(--m-ink);
}

.m-h--s { width: 56%; }
.m-h--xs { width: 55%; height: 2.4cqw; }
.m-h--xl { width: 58%; height: 5cqw; }

.m-p {
  width: 92%;
  height: 1.15cqw;
  border-radius: 1cqw;
  background-color: var(--m-line);
}

.m-p--s { width: 64%; }

.m-chip {
  width: 13cqw;
  height: 2.3cqw;
  border-radius: 2cqw;
  background-color: #ebe6ff;
}

.m-chip--y { background-color: var(--y); }

.m-cta {
  width: 14cqw;
  height: 3.8cqw;
  border-radius: 2cqw;
  background-color: var(--y);
  box-shadow: 0.5cqw 0.5cqw 0 var(--v);
}

.m-cta--s {
  width: 9cqw;
  height: 2.9cqw;
  margin-left: 1cqw;
  background-color: var(--m-ink);
  box-shadow: none;
}

.m-cta--ghost {
  border: 0.3cqw solid var(--m-line);
  background-color: transparent;
  box-shadow: none;
}

.m-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.6cqw;
}

.m-btns {
  display: flex;
  gap: 1.5cqw;
  margin-top: 1cqw;
}

/* Picture placeholder: a sun and two hills, as in the video's mockups. */
.m-img {
  position: relative;
  min-height: 6cqw;
  overflow: hidden;
  border-radius: 1.5cqw;
  background: linear-gradient(140deg, #8d74ff, var(--v));
}

.m-img::before {
  content: "";
  position: absolute;
  top: 16%;
  right: 16%;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: var(--y);
}

.m-img::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background-color: rgb(255 255 255 / 0.32);
  clip-path: polygon(0 100%, 0 60%, 28% 10%, 52% 55%, 70% 30%, 100% 75%, 100% 100%);
}

.m-img--a { background: linear-gradient(140deg, #8d74ff, var(--v)); }
.m-img--b { background: linear-gradient(140deg, #ffe874, #ffc933); }
.m-img--b::before { background-color: var(--paper); }
.m-img--c { background: linear-gradient(140deg, #3a2f7e, #1b1830); }
.m-img--d { background: linear-gradient(140deg, #d8ceff, #a893ff); }
.m-img--e { background: linear-gradient(140deg, #f1edff, #d9d0ff); }
.m-img--e::before { background-color: var(--v); }
.m-img--f { background: linear-gradient(140deg, #ffdd33, #ff9f43); }
.m-img--f::before { background-color: var(--paper); }

.m-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2cqw;
}

.m-card {
  display: flex;
  flex-direction: column;
  gap: 1.1cqw;
  padding: 2.2cqw;
  border-radius: 1.5cqw;
  background-color: var(--m-soft);
}

.m-dot {
  width: 3.4cqw;
  height: 3.4cqw;
  margin-bottom: 0.6cqw;
  border-radius: 1cqw;
  background-color: var(--y);
}

.m-card:nth-child(2) .m-dot { background-color: var(--v); }
.m-card:nth-child(3) .m-dot { background-color: var(--m-ink); }

/* Vitrine */
.scr--vitrine .m-hero {
  display: grid;
  flex: 1;
  grid-template-columns: 1.1fr 1fr;
  gap: 4cqw;
}

.m-img--tall {
  height: 100%;
}

/* Shop */
.m-cart {
  position: relative;
  width: 3.6cqw;
  height: 3.6cqw;
  margin-left: 1.5cqw;
  border-radius: 50%;
  background-color: var(--m-soft);
  box-shadow: inset 0 0 0 0.3cqw var(--m-line);
}

.m-badge {
  position: absolute;
  top: -0.5cqw;
  right: -0.5cqw;
  width: 1.9cqw;
  height: 1.9cqw;
  border-radius: 50%;
  background-color: var(--v);
}

.m-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.6cqw 3cqw;
  border-radius: 1.6cqw;
  background: linear-gradient(110deg, var(--m-ink), #3a2f7e);
}

.m-banner .m-h {
  width: 38%;
  background-color: var(--paper);
}

.m-grid4 {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(4, 1fr);
  gap: 2cqw;
}

.m-prod {
  display: flex;
  flex-direction: column;
  gap: 1.1cqw;
}

.m-prod .m-img {
  flex: 1;
}

.m-prod:nth-child(2) .m-img { background: linear-gradient(140deg, #ffe874, #ffc933); }
.m-prod:nth-child(3) .m-img { background: linear-gradient(140deg, #d8ceff, #a893ff); }
.m-prod:nth-child(4) .m-img { background: linear-gradient(140deg, #3a2f7e, #1b1830); }

.m-price {
  width: 7cqw;
  height: 2cqw;
  border-radius: 1cqw;
  background-color: var(--v);
}

/* Booking */
.m-split {
  display: grid;
  flex: 1;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4cqw;
}

.m-service {
  height: 4.6cqw;
  border-radius: 1.2cqw;
  box-shadow: inset 0 0 0 0.3cqw var(--m-line);
}

.m-service.is-on {
  background-color: #f1edff;
  box-shadow: inset 0 0 0 0.35cqw var(--v);
}

.m-cal {
  display: flex;
  flex-direction: column;
  gap: 1.4cqw;
  padding: 2.4cqw;
  border-radius: 1.6cqw;
  background-color: var(--m-soft);
}

.m-cal__head {
  width: 40%;
  height: 2cqw;
  border-radius: 1cqw;
  background-color: var(--m-ink);
}

.m-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.9cqw;
}

.m-cal__grid span {
  aspect-ratio: 1.2;
  border-radius: 0.8cqw;
  background-color: var(--paper);
  box-shadow: inset 0 0 0 0.2cqw #e6e2f3;
}

.m-cal__grid .is-off {
  opacity: 0.35;
}

.m-cal__grid .is-on {
  background-color: var(--v);
  box-shadow: none;
}

.m-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1cqw;
}

.m-slots span {
  height: 2.8cqw;
  border-radius: 1cqw;
  background-color: var(--paper);
  box-shadow: inset 0 0 0 0.2cqw #e6e2f3;
}

.m-slots .is-on {
  background-color: var(--y);
  box-shadow: none;
}

/* Web app */
.scr--app {
  flex-direction: row;
  gap: 0;
  padding: 0;
}

.m-side {
  display: flex;
  flex-direction: column;
  gap: 1.8cqw;
  width: 16cqw;
  padding: 3cqw 2.4cqw;
  background-color: var(--m-ink);
}

.m-side .m-logo {
  margin-bottom: 1.6cqw;
  background-color: var(--y);
}

.m-side span:not(.m-logo) {
  height: 1.5cqw;
  border-radius: 1cqw;
  background-color: rgb(255 255 255 / 0.16);
}

.m-side span.is-on {
  background-color: var(--v);
}

.m-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2.2cqw;
  padding: 3cqw 3.4cqw;
  background-color: var(--m-soft);
}

.m-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.m-top .m-h {
  width: 32%;
}

.m-avatar {
  width: 3.6cqw;
  height: 3.6cqw;
  border-radius: 50%;
  background-color: var(--y);
}

.m-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2cqw;
}

.m-kpi {
  display: flex;
  flex-direction: column;
  gap: 1.3cqw;
  padding: 2cqw;
  border-radius: 1.4cqw;
  background-color: var(--paper);
}

.m-kpi:nth-child(2) .m-h { background-color: var(--v); }

.m-chart {
  display: flex;
  flex: 1;
  align-items: flex-end;
  gap: 1.4cqw;
  padding: 2cqw;
  border-radius: 1.4cqw;
  background-color: var(--paper);
}

.m-chart span {
  flex: 1;
  height: var(--h);
  border-radius: 0.8cqw 0.8cqw 0.3cqw 0.3cqw;
  background: linear-gradient(to top, var(--v), #a391ff);
  transform-origin: bottom;
}

.m-chart span:nth-child(6) {
  background: var(--y);
}

.view.is-on .m-chart span,
.tile.is-in .m-chart span {
  animation: grow 900ms var(--ease) calc(var(--i, 0) * 60ms) both;
}


@keyframes grow {
  from {
    transform: scaleY(0);
  }
}

.m-rows {
  display: flex;
  flex-direction: column;
  gap: 1cqw;
}

.m-rows span {
  height: 2.6cqw;
  border-radius: 1cqw;
  background-color: var(--paper);
}

/* App landing (mobile kind): the phone steps forward over it */
.scr--mobile .m-hero {
  display: grid;
  flex: 1;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3cqw;
  align-items: center;
}

.m-stores {
  display: flex;
  gap: 1.5cqw;
  margin-top: 1.4cqw;
}

.m-stores span {
  width: 13cqw;
  height: 4cqw;
  border-radius: 1.2cqw;
  background-color: var(--m-ink);
}

.m-halo {
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(108 75 255 / 0.4), rgb(108 75 255 / 0) 68%);
}

/* Portfolio */
.m-masonry {
  display: grid;
  flex: 1;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.6cqw;
}

.m-masonry .m-img:first-child {
  grid-row: span 2;
}

/* Blog */
.m-feature {
  display: grid;
  flex: 1;
  grid-template-columns: 1.25fr 1fr;
  gap: 3.4cqw;
}

.m-post {
  display: flex;
  flex-direction: column;
  gap: 1.1cqw;
}

.scr .m-post .m-img {
  height: 7cqw;
}

/* Phone screens: same vocabulary, thicker strokes for the narrow viewport. */
.pscr {
  gap: 5cqw;
  padding: 15cqw 7cqw 7cqw;
}

.m-pbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pscr .m-logo {
  width: 17cqw;
  height: 7.5cqw;
  border-radius: 2.4cqw;
}

.m-burger {
  width: 9cqw;
  height: 6cqw;
  border-block: 1.5cqw solid var(--m-ink);
}

.pscr .m-h { height: 8cqw; border-radius: 2cqw; }
.pscr .m-h--s { width: 62%; }
.pscr .m-h--xs { height: 6cqw; }
.pscr .m-p { height: 3.4cqw; border-radius: 2cqw; }
.pscr .m-img { min-height: 42cqw; border-radius: 5cqw; }

.pscr .m-cta {
  width: 62%;
  height: 11cqw;
  border-radius: 6cqw;
  box-shadow: 1.2cqw 1.2cqw 0 var(--v);
}

.pscr .m-cta--wide {
  width: 100%;
  margin-top: auto;
}

.m-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4cqw;
}

.pscr .m-prod { gap: 2.4cqw; }
.pscr .m-prod .m-img { min-height: 34cqw; }
.pscr .m-price { width: 45%; height: 4.4cqw; border-radius: 2cqw; }

.pscr .m-cal__grid { gap: 2cqw; }
.pscr .m-cal__grid span { border-radius: 2cqw; box-shadow: inset 0 0 0 0.6cqw #e6e2f3; }
.pscr .m-slots { grid-template-columns: repeat(3, 1fr); gap: 3cqw; }
.pscr .m-slots span { height: 9cqw; border-radius: 3cqw; box-shadow: inset 0 0 0 0.6cqw #e6e2f3; }

.pscr .m-kpi {
  gap: 3cqw;
  padding: 5cqw;
  border-radius: 4cqw;
  background-color: var(--m-soft);
}

.pscr .m-kpi .m-h { background-color: var(--v); }

.pscr .m-chart {
  gap: 3cqw;
  padding: 5cqw;
  border-radius: 4cqw;
  background-color: var(--m-soft);
}

.pscr .m-chart span { border-radius: 2cqw 2cqw 1cqw 1cqw; }
.pscr .m-rows { gap: 3cqw; }
.pscr .m-rows span { height: 10cqw; border-radius: 3cqw; background-color: var(--m-soft); }

.m-tabs {
  display: flex;
  justify-content: space-around;
  margin-top: auto;
  padding-top: 4cqw;
  border-top: 0.5cqw solid #eceaf3;
}

.m-tabs span {
  width: 9cqw;
  height: 9cqw;
  border-radius: 3cqw;
  background-color: #e4e0f1;
}

.m-tabs .is-on { background-color: var(--v); }

.pscr--portfolio .m-grid2 .m-img { min-height: 48cqw; }

.pscr .m-post {
  flex-direction: row;
  align-items: center;
  gap: 4cqw;
}

.pscr .m-post .m-img {
  flex: none;
  width: 30cqw;
  min-height: 0;
  height: 20cqw;
  border-radius: 3cqw;
}

.pscr .m-post .m-p { flex: 1; }

/* ─── Ribbons: two crossing marquees ─── */

.ribbons {
  position: relative;
  z-index: 2;
  height: clamp(150px, 18vw, 230px);
  margin-top: -40px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.ribbon {
  grid-area: 1 / 1;
  width: 120%;
  padding-block: clamp(14px, 1.6vw, 22px);
  overflow: hidden;
  font-family: var(--display);
  font-size: clamp(1.4rem, 1rem + 2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.ribbon--y {
  z-index: 2;
  background-color: var(--y);
  color: var(--ink);
  transform: rotate(-3deg);
  box-shadow: 0 16px 40px -12px rgb(0 0 0 / 0.6);
}

.ribbon--v {
  background-color: var(--v);
  color: var(--paper);
  transform: rotate(2.5deg);
}

.ribbon__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.ribbon--v .ribbon__track {
  animation-direction: reverse;
  animation-duration: 48s;
}

.ribbon__set {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding-right: 0.6em;
}

.ribbon__star {
  font-size: 0.7em;
}

.ribbon--y .ribbon__star { color: var(--v); }
.ribbon--v .ribbon__star { color: var(--y); }

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ─── Video ─── */

.player {
  position: relative;
  max-width: 1040px;
  margin-inline: auto;
  border-radius: var(--r-lg);
}

.player::before {
  content: "";
  position: absolute;
  inset: 8% 4% -6%;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(120deg, var(--v), #9a5bff 50%, var(--y));
  filter: blur(70px);
  opacity: 0.55;
}

.player video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  background-color: var(--v);
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.14),
    0 40px 100px -30px rgb(0 0 0 / 0.8);
}

.player__play {
  position: absolute;
  inset: 0;
  bottom: auto;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: flex-end;
  padding: clamp(14px, 3vw, 28px);
  border: 0;
  border-radius: var(--r-lg);
  background: linear-gradient(to top, rgb(14 13 22 / 0.45), transparent 45%);
}

.player__play[hidden] {
  display: none;
}

.player__pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px 8px 8px;
  border-radius: 999px;
  background-color: var(--y);
  color: var(--ink);
  font-size: clamp(0.9rem, 0.85rem + 0.3vw, 1.05rem);
  font-weight: 700;
  box-shadow: 5px 5px 0 var(--ink);
  transition:
    transform 250ms var(--ease),
    box-shadow 250ms var(--ease);
}

.player__play:hover .player__pill {
  transform: translate(-2px, -2px) scale(1.03);
  box-shadow: 7px 7px 0 var(--ink);
}

.player__ring {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(40px, 5vw, 52px);
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: var(--ink);
  color: var(--y);
}

.player__ring .icon {
  margin-left: 3px;
}

.player__ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--ink);
  animation: ring 2.2s var(--ease) infinite;
}

@keyframes ring {
  from {
    opacity: 0.7;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.7);
  }
}

.player__time {
  padding: 2px 8px;
  border-radius: 999px;
  background-color: rgb(14 13 22 / 0.12);
  font-size: 0.85em;
  font-variant-numeric: tabular-nums;
}

.player__caption {
  margin-top: 28px;
  color: var(--mute);
  text-align: center;
}

/* ─── Bento of project kinds ─── */

.bento {
  display: grid;
  gap: 16px;
}

@media (min-width: 700px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .tile--vitrine,
  .tile--more {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1040px) {
  .bento {
    grid-template-columns: repeat(6, 1fr);
    grid-template-areas:
      "vit vit vit vit mob mob"
      "shop shop boo boo mob mob"
      "app app port port blog blog"
      "more more more more more more";
  }

  .tile--vitrine { grid-area: vit; }
  .tile--mobile { grid-area: mob; }
  .tile--shop { grid-area: shop; }
  .tile--booking { grid-area: boo; }
  .tile--app { grid-area: app; }
  .tile--portfolio { grid-area: port; }
  .tile--blog { grid-area: blog; }
  .tile--more { grid-area: more; }
}

.tile {
  --glow: var(--v);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background-color: var(--ink-2);
  transition:
    border-color 300ms var(--ease),
    transform 500ms var(--ease);
}

/* Spotlight following the pointer (freelance.js sets --mx / --my). */
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgb(108 75 255 / 0.22), transparent 60%);
  opacity: 0;
  transition: opacity 300ms var(--ease);
}

.tile:hover {
  border-color: var(--line-2);
}

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

.tile--shop,
.tile--portfolio { --glow: var(--y); }

.tile__art {
  position: relative;
  height: clamp(200px, 22vw, 250px);
  overflow: hidden;
  background: radial-gradient(90% 80% at 50% 110%, color-mix(in srgb, var(--glow) 38%, transparent), transparent 70%);
}

.tile--vitrine .tile__art { height: clamp(220px, 28vw, 320px); }

.mini-browser {
  position: absolute;
  top: 28px;
  left: 50%;
  width: min(86%, 520px);
  overflow: hidden;
  border-radius: 12px;
  background-color: #efedf6;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.8);
  transform: translateX(-50%) rotate(-2deg);
  transition: transform 600ms var(--ease);
}

.tile:nth-child(even) .mini-browser {
  transform: translateX(-50%) rotate(2deg);
}

.tile:hover .mini-browser {
  transform: translateX(-50%) translateY(-10px) rotate(0);
}

.mini-browser__bar {
  display: flex;
  gap: 5px;
  padding: 9px 12px;
}

.mini-browser__bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #d6d2e4;
}

.mini-browser__view {
  aspect-ratio: 16 / 10.5;
}

.tile--mobile .tile__art {
  flex: 1;
  min-height: 300px;
}

.mini-phone {
  position: absolute;
  top: 40px;
  left: 50%;
  z-index: 2;
  width: min(46%, 190px);
  aspect-ratio: 9 / 19;
  padding: 2.6%;
  border-radius: 18% / 8.5%;
  background-color: #0a0911;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.14),
    0 30px 60px -16px rgb(0 0 0 / 0.9);
  transform: translateX(-72%) rotate(-7deg);
  transition: transform 600ms var(--ease);
}

.mini-phone--back {
  z-index: 1;
  top: 64px;
  transform: translateX(-12%) rotate(8deg);
  opacity: 0.9;
}

.tile:hover .mini-phone { transform: translateX(-76%) translateY(-10px) rotate(-9deg); }
.tile:hover .mini-phone--back { transform: translateX(-8%) translateY(-4px) rotate(11deg); }

.mini-phone__view {
  height: 100%;
  border-radius: 15% / 7%;
}

.tile__body {
  position: relative;
  padding: 22px 26px 26px;
  background: linear-gradient(to top, var(--ink-2) 70%, transparent);
}

.tile__title {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tile__text {
  margin-top: 6px;
  color: var(--mute);
  font-size: 0.96rem;
}

.tile--more {
  display: grid;
  gap: 16px 40px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border: 0;
  background-color: var(--y);
  color: var(--ink);
}

.tile--more::before {
  display: none;
}

.tile--more .tile__text {
  color: rgb(14 13 22 / 0.75);
  font-size: 1.1rem;
  max-width: 40ch;
}

.tile--more .btn {
  justify-self: start;
}

.tile__big {
  font-family: var(--display);
  font-size: clamp(2.6rem, 1.5rem + 4vw, 5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

@media (min-width: 1040px) {
  .tile--more {
    grid-template-columns: 1fr auto auto;
  }

  .tile__big {
    white-space: nowrap;
  }

  /* Two rows tall: the phones fill the height instead of floating on top. */
  .tile--mobile .mini-phone {
    top: 50%;
    width: min(54%, 230px);
    translate: 0 -54%;
  }

  .tile--mobile .mini-phone--back {
    translate: 0 -46%;
  }
}

/* Phones: a swipeable row instead of eight cards stacked; the next card
   peeks in so the row reads as scrollable. */
@media (max-width: 699px) {
  .bento {
    display: flex;
    gap: 12px;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    padding-bottom: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .bento::-webkit-scrollbar {
    display: none;
  }

  .bento > .tile {
    flex: 0 0 84%;
    scroll-snap-align: start;
  }

  .tile__art,
  .tile--vitrine .tile__art,
  .tile--mobile .tile__art {
    flex: none;
    height: 190px;
    min-height: 0;
  }

  .mini-browser {
    top: 22px;
  }

  .mini-phone {
    top: 22px;
    width: 40%;
  }

  .mini-phone--back {
    top: 40px;
  }

  .tile__body {
    flex: 1;
    padding: 18px 20px 22px;
  }

  .tile__title {
    font-size: 1.3rem;
  }

  .tile--more {
    align-content: center;
    padding: 24px;
  }

  .tile--more .tile__text {
    font-size: 1rem;
  }
}

/* Where you are in the row (freelance.js builds it; phones only). */
.bento__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
}

.bento__dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: var(--line-2);
  transition:
    width 300ms var(--ease),
    background-color 300ms var(--ease);
}

.bento__dots span.is-on {
  width: 24px;
  background-color: var(--y);
}

@media (min-width: 700px) {
  .bento__dots {
    display: none;
  }
}

/* ─── Offer (violet) ─── */

.offer {
  overflow: clip;
  background-color: var(--v);
  isolation: isolate;
}

.offer .eyebrow {
  color: var(--y);
}

.offer__shapes span {
  position: absolute;
  z-index: -1;
  border: 3px solid rgb(255 255 255 / 0.14);
  animation: spin 40s linear infinite;
}

.offer__shapes span:nth-child(1) {
  top: 8%;
  right: 6%;
  width: 120px;
  aspect-ratio: 1;
  border-radius: 50%;
}

.offer__shapes span:nth-child(2) {
  bottom: 12%;
  left: 4%;
  width: 90px;
  aspect-ratio: 1;
  border-radius: 22px;
  animation-duration: 30s;
}


@keyframes spin {
  to {
    rotate: 360deg;
  }
}

.offer__grid {
  display: grid;
  gap: 40px 72px;
}

@media (min-width: 1040px) {
  .offer__grid {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .offer__head {
    position: sticky;
    top: 120px;
    align-self: start;
  }
}

.benefits {
  border-top: 1px solid rgb(255 255 255 / 0.22);
}

.benefit {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding-block: 26px;
  border-bottom: 1px solid rgb(255 255 255 / 0.22);
}

.benefit__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background-color: var(--ink);
  color: var(--y);
  box-shadow: 4px 4px 0 rgb(14 13 22 / 0.3);
  transition: transform 400ms var(--spring);
}

.benefit:hover .benefit__icon {
  transform: rotate(-8deg) scale(1.08);
}

.benefit__title {
  font-family: var(--display);
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.benefit__text {
  margin-top: 4px;
  color: rgb(255 255 255 / 0.82);
}

.benefit__check {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--y);
  color: var(--ink);
  transform: scale(0);
  transition: transform 500ms var(--spring) 250ms;
}

.benefit.is-in .benefit__check,
.no-js .benefit__check {
  transform: none;
}

.features {
  margin-top: clamp(56px, 8vw, 96px);
  text-align: center;
}

.features__title {
  margin-bottom: 24px;
  font-family: var(--display);
  font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  font-weight: 800;
}

.features__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 940px;
  margin-inline: auto;
}

.features__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px 11px 14px;
  border-radius: 999px;
  background-color: var(--ink);
  font-weight: 600;
  transition:
    transform 300ms var(--spring),
    background-color 200ms var(--ease),
    color 200ms var(--ease);
}

.features__list .icon {
  color: var(--y);
  transition: transform 300ms var(--ease);
}

.features__list li:hover {
  background-color: var(--y);
  color: var(--ink);
  transform: rotate(-3deg) scale(1.06);
}

.features__list li:hover .icon {
  color: var(--ink);
  transform: rotate(90deg);
}

.js .features__list li {
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  transition:
    opacity 500ms var(--ease) calc(var(--i) * 45ms),
    transform 500ms var(--spring) calc(var(--i) * 45ms),
    background-color 200ms var(--ease),
    color 200ms var(--ease);
}

.js .features.is-in .features__list li {
  opacity: 1;
  transform: none;
}

.js .features.is-in .features__list li:hover {
  transform: rotate(-3deg) scale(1.06);
  transition-delay: 0ms;
}

/* ─── Process ─── */

.steps {
  --dot: 68px;
  position: relative;
  display: grid;
  gap: 40px;
  counter-reset: step;
}

.steps::before,
.steps::after {
  content: "";
  position: absolute;
  border-radius: 3px;
}

.steps::before {
  background-color: rgb(255 255 255 / 0.12);
}

.steps::after {
  background-color: var(--y);
  transition: transform 2.4s var(--ease);
}

.step {
  position: relative;
}

.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--dot);
  height: var(--dot);
  border: 3px solid rgb(255 255 255 / 0.2);
  border-radius: 50%;
  background-color: var(--ink);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  transition:
    background-color 400ms var(--ease) calc(var(--d) * 0.55s + 0.2s),
    border-color 400ms var(--ease) calc(var(--d) * 0.55s + 0.2s),
    color 400ms var(--ease) calc(var(--d) * 0.55s + 0.2s),
    transform 500ms var(--spring) calc(var(--d) * 0.55s + 0.2s),
    box-shadow 500ms var(--ease) calc(var(--d) * 0.55s + 0.2s);
}

.steps.is-live .step__num,
.no-js .step__num {
  border-color: var(--y);
  background-color: var(--y);
  color: var(--ink);
  box-shadow: 0 0 0 10px rgb(255 221 51 / 0.12);
  transform: scale(1.06);
}

.step__title {
  margin-top: 22px;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.step__text {
  margin-top: 8px;
  color: var(--mute);
}

.js .step__title,
.js .step__text {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 600ms var(--ease) calc(var(--d) * 0.55s + 0.3s),
    transform 600ms var(--ease) calc(var(--d) * 0.55s + 0.3s);
}

.js .steps.is-live .step__title,
.js .steps.is-live .step__text {
  opacity: 1;
  transform: none;
}

/* Mobile: a vertical track on the left. */
@media (max-width: 859px) {
  .step {
    padding-left: calc(var(--dot) + 24px);
    min-height: var(--dot);
  }

  .step__num {
    position: absolute;
    top: 0;
    left: 0;
  }

  .step__title {
    margin-top: 14px;
  }

  .steps::before,
  .steps::after {
    top: calc(var(--dot) / 2);
    bottom: 40px;
    left: calc(var(--dot) / 2 - 1.5px);
    width: 3px;
  }

  .steps::after {
    transform: scaleY(0);
    transform-origin: top;
  }

  .steps.is-live::after,
  .no-js .steps::after {
    transform: none;
  }
}

@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
  }

  .step__num {
    margin-inline: auto;
  }

  .steps::before,
  .steps::after {
    top: calc(var(--dot) / 2 - 1.5px);
    left: 12.5%;
    right: 12.5%;
    height: 3px;
  }

  .steps::after {
    transform: scaleX(0);
    transform-origin: left;
  }

  .steps.is-live::after,
  .no-js .steps::after {
    transform: none;
  }
}

.promise {
  max-width: 900px;
  margin: clamp(72px, 10vw, 120px) auto 0;
  color: var(--mute);
  font-family: var(--display);
  font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-align: center;
  text-wrap: balance;
}

.promise strong {
  display: block;
  width: fit-content;
  margin: 22px auto 0;
  padding: 0.1em 0.4em 0.16em;
  border-radius: 0.2em;
  background-color: var(--y);
  color: var(--ink);
  font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  box-shadow: 0.08em 0.08em 0 var(--v);
  transform: rotate(-2deg);
}

.js .promise.reveal strong {
  transform: rotate(-8deg) scale(0.6);
  transition: transform 800ms var(--spring) 300ms;
}

.js .promise.is-in strong {
  transform: rotate(-2deg);
}

/* ─── About ─── */

.about {
  background: linear-gradient(to bottom, var(--ink), #151226 50%, var(--ink));
  /* The tilted yellow card pokes past the edge on phones; body's clip does
     not stop mobile browsers from widening the layout viewport. */
  overflow-x: clip;
}

.about__grid {
  display: grid;
  align-items: center;
  gap: 56px 80px;
}

@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.about__photo {
  position: relative;
  width: min(100%, 420px);
  margin-inline: auto;
  padding: 24px;
}

/* Yellow card behind the tilted portrait, as in the video. */
.portrait {
  position: relative;
  transform: rotate(-4deg);
  transition: transform 600ms var(--spring);
}

.portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--r-lg);
  background-color: var(--y);
  transform: translate(18px, 16px) rotate(7deg);
  transition: transform 600ms var(--spring);
}

.about__photo:hover .portrait {
  transform: rotate(-1deg);
}

.about__photo:hover .portrait::before {
  transform: translate(22px, 20px) rotate(10deg);
}

.portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  object-fit: cover;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.8);
}

.sticker {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 16px 30px -10px rgb(0 0 0 / 0.6);
  animation: bob 6s ease-in-out infinite;
}

.sticker--1 {
  top: 6%;
  right: -4%;
  background-color: var(--v);
  transform: rotate(6deg);
}

.sticker--2 {
  bottom: 4%;
  left: -6%;
  background-color: var(--paper);
  color: var(--ink);
  transform: rotate(-5deg);
  animation-delay: -3s;
}

.about__text .head__title {
  font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem);
}

.about__text .head__title em {
  font-style: normal;
  color: var(--y);
}

.about__role {
  display: inline-block;
  margin-top: 18px;
  padding: 6px 14px;
  border-radius: 10px;
  background-color: var(--y);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--v);
  transform: rotate(-1deg);
}

.about__p {
  max-width: 58ch;
  margin-top: 22px;
  color: var(--mute);
  font-size: 1.1rem;
  text-wrap: pretty;
}

.about__p + .about__p {
  margin-top: 14px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.badges li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px 11px 14px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background-color: rgb(255 255 255 / 0.04);
  font-weight: 600;
}

.badges .icon {
  color: var(--y);
}

/* ─── FAQ ─── */

.faq {
  display: grid;
  gap: 24px 80px;
}

@media (min-width: 960px) {
  .faq {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .faq__head {
    position: sticky;
    top: 120px;
    align-self: start;
  }

  .faq__head .head__title {
    font-size: clamp(2.3rem, 1.2rem + 2.6vw, 3.6rem);
  }
}

.qa {
  border-bottom: 1px solid var(--line);
}

.qa:first-child {
  border-top: 1px solid var(--line);
}

.qa__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 26px;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
  transition: color 200ms var(--ease);
}

.qa__q::-webkit-details-marker {
  display: none;
}

.qa__q:hover {
  color: var(--y);
}

.qa__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--line-2);
  border-radius: 50%;
  transition:
    transform 400ms var(--spring),
    background-color 250ms var(--ease),
    border-color 250ms var(--ease),
    color 250ms var(--ease);
}

.qa[open] .qa__icon {
  border-color: var(--y);
  background-color: var(--y);
  color: var(--ink);
  transform: rotate(135deg);
}

.qa__a p {
  max-width: 62ch;
  padding-bottom: 26px;
  color: var(--mute);
  font-size: 1.05rem;
}

/* Smooth opening where the browser can animate to `auto`. */
@supports (interpolate-size: allow-keywords) {
  .qa {
    interpolate-size: allow-keywords;
  }

  .qa::details-content {
    height: 0;
    overflow: clip;
    transition:
      height 450ms var(--ease),
      content-visibility 450ms allow-discrete;
  }

  .qa[open]::details-content {
    height: auto;
  }
}

/* ─── Contact (yellow) ─── */

.contact {
  overflow: clip;
  isolation: isolate;
  background-color: var(--y);
  color: var(--ink);
}

.contact .eyebrow {
  color: var(--v-deep);
}

.contact__shapes span {
  position: absolute;
  z-index: -1;
  border: 3px solid rgb(14 13 22 / 0.12);
  animation: spin 50s linear infinite;
}

.contact__shapes span:nth-child(1) {
  top: 10%;
  left: 46%;
  width: 70px;
  aspect-ratio: 1;
  border-radius: 50%;
}

/* Below two columns it would sit on the title. */
@media (max-width: 1039px) {
  .contact__shapes span:nth-child(1) {
    display: none;
  }
}

.contact__shapes span:nth-child(2) {
  bottom: 8%;
  left: 5%;
  width: 110px;
  aspect-ratio: 1;
  border-radius: 26px;
  animation-duration: 36s;
}

.contact__grid {
  display: grid;
  gap: 48px 72px;
  align-items: start;
}

@media (min-width: 1040px) {
  .contact__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact__title {
  font-family: var(--display);
  font-size: clamp(3rem, 1.6rem + 5.6vw, 6.4rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.contact__title em {
  color: var(--v-deep);
}

.contact__lede {
  max-width: 44ch;
  margin-top: 24px;
  font-size: 1.15rem;
  color: rgb(14 13 22 / 0.78);
}

.contact__direct {
  margin-top: 40px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(14 13 22 / 0.6);
}

.reach {
  display: grid;
  gap: 14px;
  max-width: 460px;
  margin-top: 14px;
}

/* One card per way to reach me: the whole card is the link. */
.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 14px;
  border-radius: var(--r);
  background-color: var(--ink);
  color: var(--paper);
  box-shadow: 5px 5px 0 var(--v);
  transition:
    transform 250ms var(--ease),
    box-shadow 250ms var(--ease);
}

.channel:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--v);
}

.channel:active {
  transform: translate(5px, 5px);
  box-shadow: 0 0 0 var(--v);
  transition-duration: 80ms;
}

.channel__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background-color: var(--y);
  color: var(--ink);
}

.channel__text {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 2px;
}

.channel__text > span {
  color: var(--mute);
  font-size: 0.85rem;
}

.channel__text strong {
  font-family: var(--display);
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}

.channel > .icon {
  color: var(--mute);
  transition:
    transform 250ms var(--ease),
    color 250ms var(--ease);
}

.channel:hover > .icon {
  color: var(--y);
  transform: translate(2px, -2px);
}

/* The brief form, and the outcomes that take its place in the same card */
.brief-card {
  position: relative;
  padding: clamp(22px, 4vw, 40px);
  border-radius: var(--r-lg);
  background-color: var(--ink);
  color: var(--paper);
  box-shadow: 10px 10px 0 var(--v);
}

.brief {
  display: grid;
  gap: 22px;
}

.brief__field {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.brief__label {
  padding: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--mute);
}

/* A legend sits outside its fieldset's grid, so it gets the gap itself. */
legend.brief__label {
  margin-bottom: 10px;
}

.brief__opt {
  color: rgb(255 255 255 / 0.45);
  font-weight: 400;
}

.brief__row {
  display: grid;
  gap: 22px;
}

@media (min-width: 560px) {
  .brief__row {
    grid-template-columns: 1fr 1fr;
  }
}

/* Project kinds: a dropdown of checkboxes over the fields below. */
/* min-width: a grid item never shrinks below its content otherwise. */
.picker {
  position: relative;
  min-width: 0;
}

.picker__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.picker__summary::-webkit-details-marker {
  display: none;
}

/* A long choice wraps onto more lines rather than widening the field. */
.picker__value {
  flex: 1;
  min-width: 0;
  color: rgb(255 255 255 / 0.36);
  overflow-wrap: break-word;
}

.picker.has-value .picker__value {
  color: var(--paper);
}

.picker__summary .icon {
  color: var(--mute);
  transition: transform 300ms var(--ease);
}

.picker[open] .picker__summary {
  border-color: var(--y);
  box-shadow: 0 0 0 4px rgb(255 221 51 / 0.18);
}

.picker[open] .picker__summary .icon {
  transform: rotate(180deg);
}

.picker__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 5;
  display: grid;
  gap: 2px;
  padding: 8px;
  border: 1.5px solid var(--line-2);
  border-radius: 16px;
  background-color: var(--ink-3);
  box-shadow: 0 24px 50px -12px rgb(0 0 0 / 0.8);
  animation: picker-in 250ms var(--ease);
}

/* Phones: the list is as wide as its longest option, not the field. */
@media (max-width: 559px) {
  .picker__panel {
    right: auto;
    width: max-content;
    max-width: 100%;
  }
}

@media (min-width: 560px) {
  .picker:not(.picker--single) .picker__panel {
    grid-template-columns: 1fr 1fr;
  }
}

.picker--single .picker__panel {
  right: auto;
  width: max-content;
  min-width: 100%;
}

.picker--single .picker__box {
  border-radius: 50%;
}

@keyframes picker-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.picker__opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 200ms var(--ease);
}

.picker__opt:hover {
  background-color: rgb(255 255 255 / 0.06);
}

.picker__opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.picker__box {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--line-2);
  border-radius: 7px;
  color: transparent;
  transition:
    background-color 200ms var(--ease),
    border-color 200ms var(--ease),
    color 200ms var(--ease),
    transform 300ms var(--spring);
}

.picker__opt input:checked + .picker__box {
  border-color: var(--y);
  background-color: var(--y);
  color: var(--ink);
  transform: scale(1.08);
}

.picker__opt input:focus-visible + .picker__box {
  outline: 3px solid var(--y);
  outline-offset: 2px;
}

.input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line-2);
  border-radius: 14px;
  background-color: rgb(255 255 255 / 0.04);
  font-size: 1rem;
  transition:
    border-color 200ms var(--ease),
    box-shadow 200ms var(--ease),
    background-color 200ms var(--ease);
}

.input::placeholder {
  color: rgb(255 255 255 / 0.36);
}

.input:hover {
  border-color: rgb(255 255 255 / 0.3);
}

.input:focus {
  outline: none;
  border-color: var(--y);
  background-color: rgb(255 255 255 / 0.06);
  box-shadow: 0 0 0 4px rgb(255 221 51 / 0.18);
}

.input--area {
  min-height: 120px;
  resize: vertical;
}

.input[aria-invalid="true"] {
  border-color: #ff7a7a;
}

.brief__error {
  color: #ff9a9a;
  font-size: 0.9rem;
  font-weight: 500;
}

.brief__error:empty {
  display: none;
}

.brief__submit {
  width: 100%;
  margin-top: 4px;
}

.brief__submit[aria-busy="true"] {
  cursor: progress;
  opacity: 0.75;
}

.brief__submit[aria-busy="true"] .icon {
  animation: nudge 0.8s ease-in-out infinite;
}

@keyframes nudge {
  50% {
    transform: translateX(5px);
  }
}

.brief__alert {
  padding: 12px 16px;
  border-radius: 14px;
  background-color: rgb(255 122 122 / 0.12);
  color: #ffb3b3;
  font-size: 0.92rem;
}

.brief__alert[hidden] {
  display: none;
}

.brief__alert a {
  color: var(--paper);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Out of sight and out of reach for people; bots still fill it. */
.brief__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.brief-done {
  display: none;
  justify-items: center;
  gap: 14px;
  padding-block: clamp(24px, 6vw, 64px);
  text-align: center;
}

.brief-done:focus {
  outline: none;
}

.brief-card.is-done .brief,
.brief-card.is-failed .brief,
.brief-card:has(.brief-done:target) .brief {
  display: none;
}

.brief-card.is-done #merci,
.brief-card.is-failed #oups,
.brief-done:target {
  display: grid;
  animation: rise 700ms var(--ease) both;
}

.brief-done__icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin-bottom: 6px;
  border-radius: 50%;
  background-color: var(--y);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--v);
  animation: pop 700ms var(--spring) 150ms both;
}

@keyframes pop {
  from {
    transform: scale(0) rotate(-30deg);
  }
}

.brief-done__title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.brief-done__text {
  max-width: 38ch;
  margin-bottom: 10px;
  color: var(--mute);
}

.brief-done .btn {
  white-space: normal;
  overflow-wrap: break-word;
}

.brief__note {
  margin-top: -8px;
  color: rgb(255 255 255 / 0.5);
  font-size: 0.85rem;
  text-align: center;
}

/* ─── Footer ─── */

.foot {
  padding-block: clamp(72px, 10vw, 128px) 32px;
  overflow: hidden;
}

.foot__big {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(3.2rem, 1rem + 10vw, 11rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.035em;
  transition: color 300ms var(--ease);
}

.foot__big:hover {
  color: var(--y);
}

.foot__arrow {
  display: grid;
  flex: none;
  place-items: center;
  width: clamp(64px, 10vw, 150px);
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: var(--y);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--v);
  transition: transform 500ms var(--spring);
}

.foot__arrow .icon {
  width: 50%;
  height: 50%;
}

.foot__big:hover .foot__arrow {
  transform: rotate(45deg) scale(1.05);
}

.foot__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 28px;
  color: var(--mute);
  font-size: 0.92rem;
}

.foot__id strong {
  color: var(--paper);
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}

.foot__links a {
  transition: color 200ms var(--ease);
}

.foot__links a:hover {
  color: var(--y);
}

/* ─── Mobile dock ─── */

.dock {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 60;
  transform: translateY(160%);
  transition: transform 500ms var(--ease);
}

.dock.is-shown {
  transform: none;
}

@media (min-width: 821px) {
  .dock {
    display: none;
  }
}

/* ─── Scroll reveal (freelance.js adds .is-in) ─── */

.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 900ms var(--ease) calc(var(--d, 0) * 90ms),
    transform 900ms var(--ease) calc(var(--d, 0) * 90ms),
    border-color 300ms var(--ease);
}

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

.js .tile.reveal.is-in:hover {
  transform: translateY(-4px);
  transition-delay: 0ms;
}

/* ─── Small screens ─── */

@media (max-width: 1039px) {
  .hero {
    min-height: 0;
  }

  .hero__visual {
    max-width: 560px;
  }

  .stage {
    --ry: -4deg;
    --rx: 4deg;
  }
}

@media (max-width: 520px) {
  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .float--2 {
    left: 0;
  }

  .browser__bar {
    height: 26px;
  }

  .browser__dots span {
    width: 7px;
    height: 7px;
  }

  .browser__url {
    padding-inline: 16px;
    font-size: 9px;
  }

  .sec {
    padding-block: 72px;
  }

  .benefit {
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 16px;
    padding-block: 18px;
  }

  .benefit__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .benefit__text {
    font-size: 0.95rem;
  }

  .benefit__check {
    display: none;
  }

  .features {
    margin-top: 48px;
  }

  .features__list {
    gap: 8px;
  }

  .features__list li {
    padding: 8px 14px 8px 11px;
    font-size: 0.9rem;
  }

  .steps {
    --dot: 52px;
    gap: 28px;
  }

  .step__num {
    font-size: 1.1rem;
  }

  .step__title {
    margin-top: 10px;
    font-size: 1.35rem;
  }

  .steps::before,
  .steps::after {
    bottom: 28px;
  }

  .about__photo {
    width: min(100%, 300px);
    padding: 20px;
  }

  .sticker {
    padding: 8px 13px;
    font-size: 0.85rem;
  }

  .sticker--1 {
    right: 0;
  }

  .sticker--2 {
    left: 0;
  }
}

/* ─── Reduced motion: no travel, no loops; state changes stay ─── */

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }

  .ribbon__track {
    animation: none;
  }
}
