/* ==========================================================================
   Clément Bécourt — Portfolio 2026
   DA : fond crème, bleu électrique, citron. Typo : Bricolage Grotesque.
   ========================================================================== */

:root {
  --cream: #F3F0E8;
  --white: #FFFFFF;
  --ink: #14141A;
  --blue: #2B2BFF;
  --lime: #D4FF3A;

  --bg: var(--cream);
  --fg: var(--ink);
  --muted: rgba(20, 20, 26, 0.6);
  --line: rgba(20, 20, 26, 0.14);
  --hl: var(--blue);

  --f-sans: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-display: "Sigmar", "Bricolage Grotesque", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(16px, 3vw, 40px);
  --nav-h: 72px;
  --radius: clamp(16px, 2vw, 28px);
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

body.is-blue {
  --bg: var(--blue);
  --fg: var(--cream);
  --muted: rgba(243, 240, 232, 0.72);
  --line: rgba(243, 240, 232, 0.24);
  --hl: var(--lime);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  transition: background-color 0.7s var(--ease), color 0.7s var(--ease);
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  padding: 10px 16px; background: var(--blue); color: var(--white);
  border-radius: 999px; transform: translateY(-200%); transition: transform 0.3s;
}
.skip:focus { transform: none; }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); }
  75% { transform: translate(-1%, 3%); }
  100% { transform: translate(3%, -1%); }
}

/* ---------- Utilitaires typo ---------- */
.mono {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hl { color: var(--hl); }
.muted { color: var(--muted); }

.label {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.02em; color: var(--muted);
}
.label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Effet "roll" sur liens */
.roll { display: inline-flex; overflow: hidden; vertical-align: top; line-height: 1.25; }
.roll > span {
  display: inline-block;
  transition: transform 0.55s var(--ease-out);
  text-shadow: 0 1.25em 0 currentColor;
}
a:hover .roll > span, button:hover .roll > span { transform: translateY(-1.25em); }

/* Mots découpés (animés par GSAP) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.w > span { display: inline-block; will-change: transform; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px;
  border: 1.5px solid var(--fg); font-weight: 600; font-size: 16px;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color 0.45s var(--ease-out), border-color 0.45s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fg); border-radius: inherit;
  transform: translateY(101%); transition: transform 0.55s var(--ease-out);
}
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: none; }
.btn--solid { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn--solid::before { background: var(--lime); }
.btn--solid:hover { color: var(--ink); border-color: var(--lime); }
.btn .arrow { display: inline-block; transition: transform 0.45s var(--ease-out); }
.btn:hover .arrow { transform: rotate(-45deg); }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: var(--gutter);
  color: #fff; mix-blend-mode: difference;
  transition: transform 0.6s var(--ease-out);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.nav__name { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.nav__logo .mono { opacity: 0.75; line-height: 1.3; }
.nav__links { display: flex; gap: 34px; font-size: 16px; font-weight: 600; }
.nav__links sup { font-family: var(--f-mono); font-size: 9px; margin-left: 3px; opacity: 0.6; }
.nav__right { justify-self: end; display: flex; align-items: center; gap: 26px; font-size: 16px; font-weight: 600; }
.nav__time { opacity: 0.75; }
.nav__burger { display: none; font-weight: 600; font-size: 16px; color: inherit; position: relative; z-index: 2; }

.menu {
  position: fixed; inset: 0; z-index: 79;
  background: var(--blue); color: var(--cream);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease), visibility 0s 0.8s;
  visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.8s var(--ease); }
.menu__links a {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: clamp(48px, 14vw, 96px); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1;
  padding-block: 10px; border-bottom: 1px solid rgba(243, 240, 232, 0.25);
}
.menu__links a:hover { color: var(--lime); }
.menu__links a .mono { letter-spacing: 0; }
.menu__foot { display: flex; justify-content: space-between; gap: 16px; }

/* ==========================================================================
   Curseur
   ========================================================================== */
.cursor, .cursor-label { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor label { cursor: none; }
  html.has-cursor input, html.has-cursor textarea { cursor: text; }
  .cursor {
    display: block; position: fixed; top: 0; left: 0; z-index: 400;
    width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
    background: #fff; mix-blend-mode: difference; pointer-events: none;
    transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), margin 0.35s var(--ease-out), opacity 0.3s;
  }
  .cursor.is-hover { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
  .cursor.is-hidden { opacity: 0; }
  .cursor-label {
    display: grid; place-items: center; position: fixed; top: 0; left: 0; z-index: 401;
    width: 108px; height: 108px; margin: -54px 0 0 -54px; border-radius: 50%;
    background: var(--lime); color: var(--ink);
    font-family: var(--f-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.02em;
    pointer-events: none; scale: 0;
    transition: scale 0.5s var(--ease-out);
  }
  .cursor-label.is-on { scale: 1; }
}

/* ==========================================================================
   Préchargeur & transitions de page
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 300;
  background: var(--blue); color: var(--cream);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px var(--gutter);
  transition: transform 1.1s var(--ease);
}
.loader__top { display: flex; justify-content: space-between; gap: 16px; }
.loader__mid { font-size: clamp(26px, 3.4vw, 52px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; max-width: 16ch; }
.loader__mid .hl { color: var(--lime); }
.loader__count {
  align-self: flex-end;
  font-size: clamp(96px, 22vw, 340px); font-weight: 800; line-height: 0.8;
  letter-spacing: -0.05em; font-variant-numeric: tabular-nums;
}
.loader__bar { position: absolute; left: 0; bottom: 0; height: 6px; width: 100%; background: var(--lime); transform-origin: left; transform: scaleX(0); }
.loader.is-done { transform: translateY(-100%); }

.curtain {
  position: fixed; inset: 0; z-index: 350; pointer-events: none;
  background: var(--blue); color: var(--lime);
  display: grid; place-items: center;
  transform: translateY(100%);
}
.curtain__name { font-size: clamp(32px, 6vw, 80px); font-weight: 800; letter-spacing: -0.04em; }
.curtain.is-covering { transform: translateY(0); transition: transform 0.7s var(--ease); pointer-events: all; }
.curtain.is-revealing { transform: translateY(0); animation: curtainOut 0.9s var(--ease) 0.05s forwards; }
@keyframes curtainOut { to { transform: translateY(-100%); } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 16px) var(--gutter) 28px;
}
.hero__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.hero__meta > :nth-child(2) { text-align: center; }
.hero__meta > :last-child { text-align: right; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #1FCB5C; margin-right: 8px; box-shadow: 0 0 0 0 rgba(31, 203, 92, 0.6); animation: pulse 2s infinite; vertical-align: 1px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(31, 203, 92, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 203, 92, 0); } }

.hero__name {
  font-size: clamp(44px, 12vw, 240px);
  font-weight: 400; line-height: 0.98; letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-block: 3vh;
  user-select: none;
}
.hero__line { display: flex; align-items: flex-end; overflow: hidden; padding-top: 0.3em; margin-top: -0.3em; }
.hero__line--2 { justify-content: flex-end; }
.hero__line [data-word] { white-space: nowrap; }
.hero__line .ch { display: inline-block; will-change: transform; }
.hero__tag {
  display: inline-block; flex-shrink: 0;
  font-family: var(--f-sans); font-size: clamp(14px, 1.3vw, 20px); font-weight: 700; letter-spacing: -0.01em; line-height: 1;
  text-transform: none; white-space: nowrap;
  padding: 0.65em 1.1em; border-radius: 999px;
  background: var(--lime); color: var(--ink);
  margin: 0 0 0.9em auto; rotate: 6deg;
}
.hero__tag--left { margin: 0 auto 0.9em 0; background: var(--blue); color: var(--white); rotate: -5deg; }
.hero__foot { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: end; }
.hero__intro { grid-column: 1 / span 5; font-size: clamp(18px, 1.6vw, 24px); font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; max-width: 34ch; }
.hero__intro .hl { font-weight: 700; }
.hero__ctas { grid-column: 6 / span 5; display: flex; gap: 12px; flex-wrap: wrap; }
.hero__badge { grid-column: 11 / span 2; justify-self: end; position: relative; width: 132px; height: 132px; border-radius: 50%; background: var(--lime); color: var(--ink); }
.hero__badge .ring { width: 100%; height: 100%; animation: spin 14s linear infinite; }
.hero__badge .ring text { font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.2em; fill: currentColor; text-transform: uppercase; }
.hero__badge .arrow-down { position: absolute; inset: 0; display: grid; place-items: center; font-size: 28px; font-weight: 700; transition: transform 0.4s var(--ease-out); }
.hero__badge:hover .arrow-down { transform: translateY(6px); }
@keyframes spin { to { transform: rotate(360deg); } }

.js .hero [data-hero] { opacity: 0; }
.js .hero .ch { transform: translateY(110%); }

/* ==========================================================================
   Bandeaux croisés
   ========================================================================== */
.tapes { position: relative; display: flex; flex-direction: column; gap: clamp(28px, 4vw, 64px); padding-block: clamp(32px, 4vw, 64px) clamp(16px, 2vw, 32px); overflow: hidden; }
.marquee { overflow: hidden; padding-block: clamp(14px, 2vw, 26px); background: var(--blue); color: var(--cream); rotate: -1.5deg; margin-inline: -4vw; position: relative; z-index: 2; }
.marquee--alt { background: var(--lime); color: var(--ink); rotate: 1.5deg; z-index: 1; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__item { font-size: clamp(32px, 5.2vw, 84px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; white-space: nowrap; padding-inline: 0.35em; text-transform: uppercase; }
.marquee__star { width: clamp(24px, 3vw, 44px); color: var(--lime); flex-shrink: 0; animation: spin 8s linear infinite; }
.marquee--alt .marquee__star { color: var(--blue); }

/* ==========================================================================
   Sections génériques
   ========================================================================== */
.section { padding: clamp(96px, 14vw, 200px) var(--gutter); position: relative; }
#travaux { padding-top: clamp(48px, 6vw, 96px); }
.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }
.sec-head .label { grid-column: 1 / -1; margin-bottom: clamp(24px, 4vw, 48px); }
.sec-title {
  grid-column: 1 / span 9;
  font-size: clamp(54px, 10vw, 176px); font-weight: 800;
  letter-spacing: -0.045em; line-height: 0.88;
}
.sec-aside { grid-column: 10 / span 3; color: var(--muted); max-width: 30ch; justify-self: end; font-size: 17px; }

/* ==========================================================================
   TRAVAUX — cartes empilées
   ========================================================================== */
.works { display: flex; flex-direction: column; gap: 28vh; }
.wcard {
  --c-bg: #222; --c-fg: #fff; --c-ac: var(--lime);
  position: sticky; top: calc(var(--nav-h) + var(--i, 0) * 14px);
  height: calc(100svh - var(--nav-h) - 6vh);
  min-height: 560px; max-height: 880px;
  border-radius: var(--radius);
  background: var(--c-bg); color: var(--c-fg);
  overflow: hidden; transform-origin: 50% 0;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  isolation: isolate;
}
.wcard .hl { color: var(--c-ac); }
.wcard__info { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: clamp(24px, 3vw, 48px); position: relative; z-index: 2; }
.wcard__top { display: flex; justify-content: space-between; gap: 12px; opacity: 0.8; }
.wcard__num { font-size: clamp(80px, 9vw, 150px); font-weight: 800; letter-spacing: -0.05em; line-height: 0.8; opacity: 0.25; font-variant-numeric: tabular-nums; }
.wcard__title { font-size: clamp(44px, 5.4vw, 96px); font-weight: 800; letter-spacing: -0.045em; line-height: 0.9; margin-bottom: 18px; }
.wcard__desc { max-width: 40ch; opacity: 0.85; font-size: clamp(15px, 1.1vw, 17px); margin-bottom: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.02em;
  padding: 7px 12px; border-radius: 999px; border: 1px solid currentColor;
  opacity: 0.9; white-space: nowrap;
}
.wcard__cta { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; font-weight: 700; font-size: 16px; }
.wcard__cta .circle {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-fg); color: var(--c-bg);
  transition: transform 0.5s var(--ease-out), background 0.3s, color 0.3s;
}
a.wcard:hover .wcard__cta .circle { transform: rotate(-45deg) scale(1.08); background: var(--c-ac); color: var(--ink); }

.wcard__visual { position: relative; display: grid; place-items: center; padding: clamp(20px, 3vw, 48px); overflow: hidden; z-index: 1; }
.wcard__visual::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 60% at 60% 50%, var(--c-ac), transparent 70%);
  opacity: 0.35;
}
.wcard__shade { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 5; }

.browser {
  width: 100%; border-radius: 12px; overflow: hidden; background: #111;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.9s var(--ease-out);
}
a.wcard:hover .browser { transform: scale(1.025) rotate(-0.6deg); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #1d1d1b; }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3a37; }
.browser__bar i:nth-child(1) { background: #FF5F57; }
.browser__bar i:nth-child(2) { background: #FEBC2E; }
.browser__bar i:nth-child(3) { background: #28C840; }
.browser__url { margin-left: 10px; flex: 1; max-width: 260px; height: 18px; border-radius: 6px; background: #2a2a27; font-family: var(--f-mono); font-size: 10px; color: #8a8a85; display: flex; align-items: center; padding-left: 8px; }
.browser__screen { aspect-ratio: 16 / 9.2; overflow: hidden; background: #222; }
.browser__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.wcard__can { position: absolute; z-index: 3; width: clamp(60px, 7vw, 120px); filter: drop-shadow(0 24px 24px rgba(0, 0, 0, 0.35)); pointer-events: none; }
.wcard__can--1 { right: 4%; bottom: 3%; rotate: 12deg; }
.wcard__can--2 { left: 3%; top: 6%; rotate: -14deg; width: clamp(48px, 5vw, 90px); }

.wcard__badge {
  position: absolute; top: 50%; left: 50%; z-index: 4; translate: -50% -50%;
  width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: var(--lime); color: var(--ink);
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; line-height: 1.3;
  rotate: -12deg;
}

/* ==========================================================================
   À PROPOS
   ========================================================================== */
.about__top { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: center; margin-bottom: clamp(72px, 10vw, 140px); }
.about__big {
  grid-column: 1 / span 8;
  font-size: clamp(30px, 4.2vw, 70px); font-weight: 600;
  letter-spacing: -0.035em; line-height: 1.06;
}
.about__big .word { display: inline-block; }
.about__stack { grid-column: 9 / span 4; position: relative; height: clamp(380px, 40vw, 600px); }
.about__stack figure {
  position: absolute; width: 68%; aspect-ratio: 4 / 5;
  border-radius: 18px; overflow: hidden; background: var(--white);
  border: 6px solid var(--white);
  box-shadow: 0 30px 60px -20px rgba(20, 20, 26, 0.35);
  rotate: var(--r, 0deg);
  transition: rotate 0.6s var(--ease-out), scale 0.6s var(--ease-out);
}
.about__stack figure:hover { rotate: 0deg; scale: 1.05; z-index: 5; }
.about__stack figure img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.about__stack figure:nth-child(1) { top: 0; left: 0; }
.about__stack figure:nth-child(2) { top: 18%; right: 0; }
.about__stack figure:nth-child(3) { bottom: 0; left: 14%; width: 60%; }
.about__stack .sticker {
  position: absolute; z-index: 6; top: 42%; left: -8%;
  padding: 10px 16px; border-radius: 999px; background: var(--lime); color: var(--ink);
  font-weight: 700; font-size: 15px; rotate: -8deg; white-space: nowrap;
}

.about__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.about__grid { align-items: stretch; }
.about__col {
  --c-bg: var(--white); --c-fg: var(--ink); --c-ac: var(--blue); --c-line: rgba(20, 20, 26, 0.12);
  grid-column: span 3; position: relative;
  border-radius: var(--radius); padding: 26px;
  background: var(--c-bg); color: var(--c-fg);
  display: flex; flex-direction: column; gap: 22px; min-height: 320px;
  box-shadow: 0 24px 48px -28px rgba(20, 20, 26, 0.35);
  rotate: var(--tilt, 0deg);
  transition: rotate 0.6s var(--ease-out), translate 0.6s var(--ease-out);
}
/* Cards façon canettes Loop : flottent au repos, jaillissent au survol */
@property --bob { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --lift { syntax: '<length>'; inherits: false; initial-value: 0px; }
.about__col, .about__card {
  translate: 0 calc(var(--bob) + var(--lift));
  animation: cardBob 6s ease-in-out infinite;
  transition: rotate 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), --lift 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), scale 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.6s var(--ease-out);
}
.about__col--dev { animation-delay: -1.5s; animation-duration: 6.6s; }
.about__col--com { animation-delay: -3s; animation-duration: 5.6s; }
.about__card { animation-delay: -4.5s; animation-duration: 7s; }
@keyframes cardBob { 0%, 100% { --bob: 0px; } 50% { --bob: -10px; } }
.about__col:hover, .about__card:hover {
  rotate: 0deg; --lift: -22px; scale: 1.05; z-index: 2;
  box-shadow: 0 0 0 3px var(--hover-ring, var(--blue)), 0 40px 70px -24px rgba(20, 20, 26, 0.5);
}
.about__col--design { --hover-ring: var(--blue); }
.about__col--dev { --hover-ring: var(--ink); }
.about__col--com { --hover-ring: var(--lime); }
.about__card { --hover-ring: var(--lime); }
.about__col li::before, .about__card li::before { display: inline-block; transition: transform 0.45s var(--ease-out); }
.about__col:hover li::before, .about__card:hover li::before { transform: translateX(5px); }
.about__col li:nth-child(2)::before, .about__card li:nth-child(2)::before { transition-delay: 0.04s; }
.about__col li:nth-child(3)::before, .about__card li:nth-child(3)::before { transition-delay: 0.08s; }
.about__col li:nth-child(4)::before, .about__card li:nth-child(4)::before { transition-delay: 0.12s; }
.about__col li:nth-child(5)::before { transition-delay: 0.16s; }
.about__num { transition: opacity 0.4s; }
/* Sticker façon canettes Loop : incliné, à moitié sorti, il jaillit au survol */
.about__card { position: relative; }
.about__pop {
  --pop-bg: var(--blue); --pop-fg: var(--white); --pop-r: -14deg;
  position: absolute; right: 18px; bottom: -30px; z-index: 3;
  width: clamp(76px, 6.4vw, 104px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--pop-bg); color: var(--pop-fg);
  border: 4px solid var(--bg);
  rotate: var(--pop-r);
  filter: drop-shadow(0 16px 18px rgba(20, 20, 26, 0.28));
  animation: popBob 5.5s ease-in-out infinite;
  transition: rotate 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), scale 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), translate 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.5s;
}
.about__pop svg { width: 44%; height: 44%; }
@keyframes popBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.about__col:hover .about__pop, .about__card:hover .about__pop {
  rotate: 0deg; scale: 1.28; translate: -6px -34px;
  filter: drop-shadow(0 30px 26px rgba(20, 20, 26, 0.38));
}
.about__col--dev .about__pop { --pop-bg: var(--ink); --pop-fg: var(--lime); --pop-r: 12deg; animation-delay: -1.4s; }
.about__col--com .about__pop { --pop-bg: var(--lime); --pop-fg: var(--ink); --pop-r: -9deg; animation-delay: -2.8s; }
.about__card .about__pop { --pop-bg: var(--lime); --pop-fg: var(--blue); --pop-r: 16deg; animation-delay: -4s; }
.about__col:hover .about__num { opacity: 1; }
.about__col--design { --tilt: -2deg; }
.about__col--dev { --tilt: 1.2deg; --c-bg: var(--lime); --c-ac: var(--blue); --c-line: rgba(20, 20, 26, 0.16); }
.about__col--com { --tilt: -1deg; --c-bg: var(--ink); --c-fg: var(--cream); --c-ac: var(--lime); --c-line: rgba(243, 240, 232, 0.16); }
.about__num { position: absolute; bottom: 22px; left: 26px; opacity: 0.5; }
.about__col h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 1.9vw, 34px); letter-spacing: -0.01em; line-height: 1; color: var(--c-ac); }
.about__col li { display: flex; gap: 10px; padding-block: 7px; border-bottom: 1px solid var(--c-line); font-size: clamp(15px, 1.1vw, 17px); font-weight: 500; letter-spacing: -0.01em; }
.about__col li::before { content: "↳"; color: var(--c-ac); }
.about__card {
  grid-column: span 3; border-radius: var(--radius); padding: 26px;
  background: var(--blue); color: var(--cream);
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 320px;
  rotate: 2deg;
  box-shadow: 0 24px 48px -28px rgba(20, 20, 26, 0.35);
}
.about__card h3 { font-size: clamp(26px, 2.2vw, 36px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.about__card h3 .hl { color: var(--lime); }
.about__card li { display: flex; gap: 10px; padding-block: 7px; border-bottom: 1px solid rgba(243, 240, 232, 0.2); font-size: 15px; }
.about__card li::before { content: "↳"; color: var(--lime); }
.about__card .btn { --fg: var(--cream); --bg: var(--blue); align-self: flex-start; }

.about__emblem { display: flex; align-items: center; gap: 24px; margin-top: clamp(64px, 8vw, 120px); padding-top: 24px; border-top: 1px solid var(--line); }
.about__emblem p { font-size: clamp(18px, 1.6vw, 24px); font-weight: 500; letter-spacing: -0.02em; max-width: 46ch; }

/* ==========================================================================
   MÉTHODE — défilement horizontal
   ========================================================================== */
.method { position: relative; overflow: hidden; }
.method__pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--nav-h); }
.method__track { display: flex; gap: 2vw; padding-inline: var(--gutter); width: max-content; will-change: transform; }
.step {
  width: min(78vw, 540px); min-height: min(64svh, 560px);
  border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; justify-content: space-between;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.5s, color 0.5s, border-color 0.5s, rotate 0.5s var(--ease-out);
}
.step:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); rotate: -1.5deg; }
.step:hover .step__num { -webkit-text-stroke-color: var(--ink); }
.step__top { display: flex; justify-content: space-between; align-items: flex-start; }
.step__num {
  font-size: clamp(120px, 13vw, 210px); font-weight: 800; letter-spacing: -0.05em; line-height: 0.8;
  color: transparent; -webkit-text-stroke: 2px var(--fg);
  transition: -webkit-text-stroke-color 0.5s;
}
.step h3 { font-size: clamp(36px, 4vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; margin-bottom: 14px; }
.step p { max-width: 36ch; opacity: 0.85; }
.step--intro { background: transparent; border-color: transparent; justify-content: space-between; padding-left: 0; width: min(86vw, 620px); }
.step--intro:hover { background: transparent; color: inherit; border-color: transparent; rotate: 0deg; }
.step--intro h2 { font-size: clamp(56px, 7vw, 120px); font-weight: 800; letter-spacing: -0.045em; line-height: 0.9; }
.step--intro p { font-size: 18px; color: var(--muted); }
.method__progress { margin: 5vh var(--gutter) 0; height: 3px; background: var(--line); position: relative; border-radius: 3px; overflow: hidden; }
.method__progress span { position: absolute; inset: 0; background: var(--lime); transform-origin: left; transform: scaleX(0); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact {
  background: var(--lime); color: var(--ink);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: clamp(80px, 11vw, 160px) var(--gutter) clamp(56px, 7vw, 96px);
  --fg: var(--ink); --bg: var(--lime);
  --line: rgba(20, 20, 26, 0.22);
  --muted: rgba(20, 20, 26, 0.64);
  --hl: var(--blue);
}
.contact__title {
  font-size: clamp(58px, 12vw, 220px); font-weight: 800;
  letter-spacing: -0.05em; line-height: 0.86;
  margin: clamp(24px, 4vw, 48px) 0 clamp(56px, 7vw, 100px);
}
.contact__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.contact__side { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 28px; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.contact__side .big-link { font-size: clamp(22px, 2vw, 30px); font-weight: 700; letter-spacing: -0.03em; display: inline-flex; align-items: center; gap: 10px; border-bottom: 2px solid currentColor; padding-bottom: 4px; align-self: flex-start; }
.contact__side .big-link:hover { color: var(--blue); }
.contact__mail { grid-column: 6 / span 7; display: flex; flex-direction: column; gap: 22px; }
.mail__address {
  font-family: var(--f-display); font-size: clamp(26px, 3.4vw, 54px); line-height: 1.05;
  overflow-wrap: anywhere; border-bottom: 2px solid currentColor; padding-bottom: 10px; align-self: flex-start;
  transition: color 0.3s;
}
.mail__address:hover { color: var(--blue); }
.mail__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.mail__actions .btn { --fg: var(--ink); --bg: var(--lime); }
.form__privacy { font-size: 13px; color: var(--muted); max-width: 46ch; }
.send {
  width: 150px; height: 150px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue); color: var(--white);
  display: grid; place-items: center; font-weight: 700; font-size: 18px;
  transition: background 0.4s, color 0.4s;
}
.send:hover { background: var(--ink); color: var(--lime); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--blue); color: var(--cream); padding: 40px var(--gutter) 0; overflow: hidden; }
.footer__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-bottom: 24px; border-bottom: 1px solid rgba(243, 240, 232, 0.25); font-size: 16px; font-weight: 500; }
.footer__row > * { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.footer__row .mono { color: rgba(243, 240, 232, 0.65); margin-bottom: 4px; }
.footer__row a:hover, .footer__row button:hover { color: var(--lime); }
.footer__row > :last-child { align-items: flex-end; text-align: right; }
.footer__giant {
  font-size: clamp(19px, 5.8vw, 127px); font-weight: 800;
  letter-spacing: -0.05em; line-height: 0.76; white-space: nowrap;
  text-align: center; margin-top: 3vw; padding-bottom: clamp(20px, 3vw, 48px);
  color: var(--lime);
  user-select: none;
}

/* ==========================================================================
   ÉTUDES DE CAS
   ========================================================================== */
.cs { --p: var(--blue); --p-fg: var(--white); }
.cs .hl { color: var(--p); }

.cs-hero { padding: calc(var(--nav-h) + 16px) var(--gutter) clamp(40px, 6vw, 80px); min-height: 92svh; display: flex; flex-direction: column; justify-content: space-between; }
.cs-hero__top { display: flex; justify-content: space-between; gap: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.cs-title {
  font-size: clamp(56px, 12.5vw, 240px); font-weight: 800;
  letter-spacing: -0.05em; line-height: 0.88; margin-block: 6vh 5vh;
}
.cs-hero__bottom { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: end; }
.cs-lead { grid-column: 1 / span 5; font-size: clamp(22px, 2.2vw, 34px); font-weight: 600; line-height: 1.12; letter-spacing: -0.025em; }
.cs-meta { grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cs-meta div { border-top: 1.5px solid var(--fg); padding-top: 12px; }
.cs-meta dt { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.cs-meta dd { font-size: 15px; font-weight: 500; line-height: 1.35; }

.cs-cover { padding-inline: var(--gutter); }
.cs-cover__frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--p-bg, var(--p)); padding: clamp(20px, 6vw, 110px);
  display: grid; place-items: center;
}
.cs-cover__deco { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.cs-cover__frame .browser { position: relative; z-index: 1; max-width: 1240px; }

.cs-block { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; padding: clamp(80px, 11vw, 160px) var(--gutter) 0; }
.cs-block__label { grid-column: 1 / span 3; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; color: var(--muted); padding-top: 10px; }
.cs-block__body { grid-column: 4 / span 9; }
.cs-big { font-size: clamp(28px, 3.4vw, 56px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.06; margin-bottom: 32px; max-width: 24ch; }
.cs-text { columns: 2; column-gap: 40px; color: var(--muted); font-size: 17px; max-width: 900px; }
.cs-text p { break-inside: avoid; }
.cs-text p + p { margin-top: 1em; }
.cs-text strong { color: var(--fg); font-weight: 600; }
.cs-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }

.cs-list li {
  display: grid; grid-template-columns: 80px 1fr 1.2fr; gap: 20px; align-items: baseline;
  padding-block: clamp(20px, 2.4vw, 32px); border-top: 1px solid var(--line);
  transition: padding 0.5s var(--ease-out);
}
.cs-list li:last-child { border-bottom: 1px solid var(--line); }
.cs-list li:hover { padding-left: 14px; }
.cs-list .n { font-family: var(--f-mono); font-size: 12px; font-weight: 500; color: var(--p); }
.cs-list h3 { font-size: clamp(24px, 2.6vw, 42px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.cs-list p { color: var(--muted); max-width: 46ch; }

.cs-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.cs-tags .tag { font-size: 12px; padding: 10px 16px; opacity: 1; border-color: var(--line); transition: background 0.3s, color 0.3s, border-color 0.3s; }
.cs-tags .tag:hover { background: var(--p); color: var(--p-fg); border-color: var(--p); }

.cs-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cs-results div { background: var(--bg); padding: clamp(20px, 2.4vw, 36px); min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; transition: background 0.4s, color 0.4s; }
.cs-results div:hover { background: var(--p); color: var(--p-fg); }
.cs-results div:hover span { color: inherit; }
.cs-results strong { font-size: clamp(24px, 2.4vw, 38px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
.cs-results span { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; color: var(--muted); }

.cs-next {
  position: relative; display: block; margin-top: clamp(100px, 14vw, 200px);
  padding: clamp(48px, 6vw, 80px) var(--gutter) clamp(56px, 7vw, 100px);
  border-top: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: color 0.5s;
}
.cs-next .label { margin-bottom: 3vw; transition: color 0.5s; }
.cs-next__title { display: block; font-size: clamp(56px, 12vw, 230px); font-weight: 800; letter-spacing: -0.05em; line-height: 0.88; transition: transform 0.8s var(--ease-out); }
.cs-next:hover .cs-next__title { transform: translateX(2vw); }
.cs-next__bg { position: absolute; inset: 0; z-index: -1; background: var(--nx, var(--blue)); clip-path: inset(100% 0 0 0); transition: clip-path 0.8s var(--ease); }
.cs-next:hover .cs-next__bg { clip-path: inset(0 0 0 0); }
.cs-next:hover, .cs-next:hover .hl { color: var(--nx-fg, var(--white)); }
.cs-next:hover .label { color: inherit; }
.cs-next:hover .label::after { background: currentColor; opacity: 0.3; }

/* Loop — spécifique */
.loop-flavors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.flavor {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3 / 4.4; padding: 20px;
  display: flex; flex-direction: column; justify-content: flex-start; gap: 10px;
  background: var(--fl); color: #fff;
}
.flavor img { position: absolute; left: 50%; bottom: -16%; width: 40%; translate: -50% 0; rotate: var(--r, 0deg); filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.3)); transition: transform 0.9s var(--ease-out), rotate 0.9s var(--ease-out); }
.flavor:hover img { transform: translateY(-9%) scale(1.05); rotate: 0deg; }
.flavor h3 { font-family: "Bagel Fat One", var(--f-sans); font-weight: 400; font-size: clamp(26px, 2.6vw, 42px); line-height: 1; position: relative; z-index: 2; }
.flavor p { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; position: relative; z-index: 2; opacity: 0.9; }
.loop-type { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.loop-type > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; background: var(--white); }
.loop-type .aa { font-size: clamp(80px, 9vw, 150px); line-height: 0.9; color: #0B1B4D; }
.loop-type p { color: var(--muted); font-size: 15px; }
.loop-swatches { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.loop-swatches span { flex: 1; min-width: 110px; height: 120px; border-radius: 16px; padding: 12px; display: flex; align-items: flex-end; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; color: #fff; }
.loop-gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; padding: clamp(80px, 11vw, 160px) var(--gutter) 0; }
.loop-gallery figure { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4 / 5; }
.loop-gallery figure:first-child { grid-row: span 2; aspect-ratio: auto; }
.loop-gallery img { width: 100%; height: 118%; object-fit: cover; }
.loop-gallery figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(20, 20, 26, 0.7); backdrop-filter: blur(8px); color: #fff; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; }

/* Void Keep — spécifique */
.pixel { image-rendering: pixelated; }
/* Pastille "Jouer" au centre du visuel */
.play {
  position: absolute; top: 50%; left: 50%; z-index: 4; translate: -50% -50%;
  width: 150px; height: 150px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lime); color: var(--ink);
  box-shadow: 0 0 0 0 rgba(212, 255, 58, 0.55), 0 20px 40px -10px rgba(0, 0, 0, 0.45);
  animation: playPulse 2.4s var(--ease-out) infinite;
  transition: scale 0.5s var(--ease-out), background 0.3s, color 0.3s;
}
.wcard .play { left: auto; right: clamp(4px, 1.2vw, 20px); top: 58%; translate: 0 -50%; }
.play--big { width: clamp(130px, 14vw, 190px); height: clamp(130px, 14vw, 190px); }
.play__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 12s linear infinite; }
.play__ring text { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; fill: currentColor; }
.play__icon { width: 34%; height: 34%; margin-left: 6%; transition: scale 0.5s var(--ease-out); }
a.wcard:hover .play, .play--big:hover { scale: 1.08; }
a.wcard:hover .play__icon, .play--big:hover .play__icon { scale: 1.15; }
.play--big:hover { background: var(--white); }
@keyframes playPulse {
  0% { box-shadow: 0 0 0 0 rgba(212, 255, 58, 0.55), 0 20px 40px -10px rgba(0, 0, 0, 0.45); }
  70%, 100% { box-shadow: 0 0 0 28px rgba(212, 255, 58, 0), 0 20px 40px -10px rgba(0, 0, 0, 0.45); }
}
.vk-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.vk-rules > div { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; background: var(--white); transition: rotate 0.5s var(--ease-out), border-color 0.4s; }
.vk-rules > div:hover { rotate: -1.5deg; border-color: var(--p); }
.vk-rules h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 2.4vw, 38px); letter-spacing: -0.01em; line-height: 1; }
.vk-rules p { color: var(--muted); font-size: 15px; }
.vk-key {
  align-self: flex-start; padding: 10px 12px; border-radius: 8px;
  background: #14163A; color: #5BC8FF; box-shadow: 0 4px 0 #3B47D9;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; margin-bottom: 8px;
}
.vk-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: clamp(80px, 11vw, 160px) var(--gutter) 0; }
.vk-gallery figure { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 568 / 307; background: #14163A; }
.vk-gallery img { width: 100%; height: 100%; object-fit: cover; }
.vk-gallery figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(20, 20, 26, 0.75); color: #fff; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; }

/* ==========================================================================
   Typo d'affichage (titres) — Sigmar n'existe qu'en une graisse
   ========================================================================== */
.hero__name, .sec-title, .wcard__title, .wcard__num, .marquee__item,
.about__card h3, .step h3, .step--intro h2, .step__num, .contact__title,
.footer__giant, .loader__count, .loader__mid, .curtain__name, .nav__name,
.menu__links a, .cs-title, .cs-big, .cs-list h3, .cs-results strong, .cs-next__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: -0.02em;
}
.sec-title, .contact__title, .cs-title, .cs-next__title { line-height: 0.95; }
.footer__giant { line-height: 1.1; }
.hero__name { letter-spacing: 0.03em; line-height: 1.06; font-size: clamp(42px, 11.2vw, 226px); }
.cs-big, .cs-list h3, .cs-results strong { letter-spacing: -0.01em; line-height: 1.12; }
.step__num { -webkit-text-stroke-width: 2.5px; }
.nav__name { font-size: 17px; letter-spacing: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .wcard { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: auto; min-height: 0; max-height: none; }
  .wcard__visual { min-height: 320px; }
  .wcard__num { display: none; }
  .about__col { grid-column: span 6; }
  .about__grid { row-gap: 48px; }
  .about__card { grid-column: span 6; }
  .cs-meta { grid-column: 1 / -1; }
  .cs-lead { grid-column: 1 / -1; margin-bottom: 24px; }
}

@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links, .nav__time, .nav__cv { display: none; }
  .nav__burger { display: inline-block; }
  .hero__meta { grid-template-columns: 1fr 1fr; }
  .hero__meta > :nth-child(2) { display: none; }
  .hero__intro { grid-column: 1 / -1; }
  .hero__ctas { grid-column: 1 / span 8; }
  .hero__badge { grid-column: 9 / span 4; width: 104px; height: 104px; }
  .hero__tag { display: none; }
  .sec-title { grid-column: 1 / -1; }
  .sec-aside { grid-column: 1 / -1; justify-self: start; margin-top: 20px; }
  .works { gap: 16px; }
  .wcard { position: relative; top: 0; }
  .about__big, .about__stack { grid-column: 1 / -1; }
  .about__stack { height: 300px; margin-top: 40px; }
  .about__stack figure { width: 40%; }
  .about__stack figure:nth-child(1) { top: 6%; left: 2%; }
  .about__stack figure:nth-child(2) { top: 0; right: auto; left: 31%; }
  .about__stack figure:nth-child(3) { bottom: auto; top: 10%; left: auto; right: 2%; width: 36%; }
  .about__stack .sticker { top: auto; bottom: 0; left: 4%; }
  .method__pin { height: auto; padding-block: clamp(96px, 14vw, 160px); }
  .method__track { flex-direction: column; width: auto; gap: 12px; }
  .step, .step--intro { width: 100%; min-height: 0; gap: 40px; }
  .step--intro { margin-bottom: 24px; }
  .method__progress { display: none; }
  .contact__side, .contact__mail { grid-column: 1 / -1; }
  .contact__side { margin-bottom: 40px; }
  .footer__row { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .footer__row > :last-child { align-items: flex-start; text-align: left; }
  .cs-block__label, .cs-block__body { grid-column: 1 / -1; }
  .cs-text { columns: 1; }
  .cs-list li { grid-template-columns: 48px 1fr; }
  .cs-list li p { grid-column: 2; }
  .cs-results { grid-template-columns: 1fr 1fr; }
  .loop-flavors { grid-template-columns: 1fr 1fr; }
  .vk-rules { grid-template-columns: 1fr; }
  .vk-gallery { grid-template-columns: 1fr; }
  .loop-type { grid-template-columns: 1fr; }
  .loop-gallery { grid-template-columns: 1fr 1fr; }
  .loop-gallery figure:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
}

@media (max-width: 600px) {
  .mail__address { font-size: 5.2vw; }
  .hero__name { font-size: 13.4vw; margin-block: 6vh; }
  .hero__ctas { grid-column: 1 / -1; }
  .hero__badge { display: none; }
  .hero__ctas .btn { height: 48px; padding: 0 20px; font-size: 15px; }
  .about__col, .about__card { grid-column: 1 / -1; }
  .about__stack { height: 220px; }
  .cs-meta { grid-template-columns: 1fr 1fr; }
  .cs-results { grid-template-columns: 1fr; }
  .send { width: 120px; height: 120px; }
  .wcard__badge { width: 116px; height: 116px; font-size: 11px; }
  .wcard .play { width: 92px; height: 92px; right: 6px; top: 64%; }
  .wcard .play__ring text { font-size: 13px; }
  .loop-gallery { grid-template-columns: 1fr; }
  .loop-gallery figure:first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .grain { display: none; }
}
