/* ═══════════════════════════════════════════════════════════
   AKU STUDIO — portfolio « papier & stickers »
   Papier quadrillé, titres très épais, bandes noires déchirées,
   stickers colorés, annotations manuscrites.
   ═══════════════════════════════════════════════════════════ */
:root {
  --paper: #f2f0ea;
  --ink: #161616;
  --ink-soft: #3a3a3a;
  --muted: #6b6b6b;
  --line: rgba(22, 22, 22, .07);
  --cobalt: #5266eb;
  --coral: #ff5a36;
  --yellow: #ffd23f;
  --pink: #ff8fd1;
  --mint: #7ee0b8;

  --display: 'Archivo Black', 'Arial Black', sans-serif;
  --sans: 'Inter', system-ui, sans-serif;
  --hand: 'Caveat', cursive;

  --ease: cubic-bezier(.23, 1, .32, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 26px 26px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px; line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }
b { font-weight: 700; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
::selection { background: var(--yellow); color: var(--ink); }

.muted { color: var(--muted); }
.hand { font-family: var(--hand); font-weight: 700; color: var(--cobalt); }

/* ── Boutons : pilule à ombre franche, façon autocollant ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  border: 2px solid var(--ink);
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.btn-sm { padding: 9px 16px; font-size: 14px; box-shadow: 3px 3px 0 var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-cobalt { background: var(--cobalt); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
  .btn-sm:hover { box-shadow: 5px 5px 0 var(--ink); }
}

/* ── Barre du haut ── */
.top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  background: rgba(242, 240, 234, .86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
}
.top-logo { font-family: var(--display); font-size: 18px; text-decoration: none; letter-spacing: -.01em; }
.top-logo span { color: var(--coral); margin: 0 3px; }
.top-nav { display: flex; gap: 26px; }
.top-nav a { font-weight: 600; font-size: 15px; text-decoration: none; position: relative; }
.top-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left;
  transition: transform .2s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .top-nav a:hover::after { transform: scaleX(1); } }

/* ── 1 · Affiche ── */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(48px, 9vh, 96px) var(--gutter) clamp(56px, 9vh, 90px);
  text-align: center;
}
.hero-meta {
  display: flex; justify-content: space-between;
  font-family: var(--display); font-size: clamp(12px, 1.4vw, 18px); text-transform: uppercase;
  margin-bottom: 4px; padding: 0 .4%;
}
.hero-title {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(56px, 15.5vw, 212px); line-height: .82; letter-spacing: -.045em;
}
.ht-o { display: inline-grid; place-items: center; flex: 0 0 auto; width: .74em; aspect-ratio: 1; margin: 0 .03em; position: relative; filter: drop-shadow(.025em .025em 0 var(--ink)); }
.ht-logo { width: 106%; max-width: none; height: auto; animation: tete-tourne 12s linear infinite; }
@keyframes tete-tourne { to { transform: rotate(360deg); } }

.hero-hand { position: relative; display: inline-block; margin-top: 14px; margin-left: 18%; font-size: clamp(24px, 2.6vw, 34px); transform: rotate(-3deg); }
.hand-arrow { position: absolute; left: -46px; top: -34px; width: 44px; height: 44px; fill: none; stroke: var(--cobalt); stroke-width: 3; stroke-linecap: round; }

.stars { display: flex; justify-content: center; gap: .2em; font-size: clamp(30px, 3.6vw, 46px); line-height: 1; margin: 26px 0; }
.stars span:nth-child(1) { color: var(--ink); }
.stars span:nth-child(2) { color: var(--coral); }
.stars span:nth-child(3) { color: var(--cobalt); }
.stars-light span:nth-child(1) { color: #fff; }

.hero-lead { max-width: 34em; margin: 0 auto; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }

/* ── 2 · Hello ── */
.hello {
  max-width: var(--max); margin: 0 auto;
  padding: 10px var(--gutter) clamp(80px, 12vh, 130px);
  display: grid; grid-template-columns: .8fr 1.25fr 1fr; gap: clamp(24px, 3.5vw, 52px);
  align-items: start;
}
.portrait { position: relative; aspect-ratio: 4 / 4.6; border: 1.5px solid var(--coral); margin-top: 30px; }
/* PNG détouré : contour blanc façon autocollant + ombre franche */
.portrait img {
  position: absolute; left: 4%; bottom: 0; width: 92%; height: auto;
  filter:
    drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff)
    drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff)
    drop-shadow(6px 6px 0 rgba(22, 22, 22, .9));
}
/* étiquette de calque façon Figma, au-dessus du cadre */
.portrait-tag {
  position: absolute; left: -1.5px; top: -26px;
  padding: 2px 7px; background: var(--coral); color: #fff;
  font-size: 11px; font-weight: 600; border-radius: 3px 3px 0 0;
}
.portrait-ph {
  position: absolute; inset: 0;
  display: grid; place-content: center; gap: 8px; text-align: center;
  background: repeating-linear-gradient(-45deg, rgba(255, 143, 209, .22) 0 12px, transparent 12px 24px);
  font-family: var(--hand); font-size: 26px; font-weight: 700; color: var(--coral);
}
.ph-ico { font-size: 56px; line-height: 1; font-family: var(--sans); }
/* poignées de sélection façon Figma */
.handle { position: absolute; width: 9px; height: 9px; background: #fff; border: 1.5px solid var(--coral); }
.h1 { left: -5px; top: -5px; } .h2 { left: calc(50% - 5px); top: -5px; } .h3 { right: -5px; top: -5px; }
.h4 { left: -5px; top: calc(50% - 5px); } .h5 { right: -5px; top: calc(50% - 5px); }
.h6 { left: -5px; bottom: -5px; } .h7 { left: calc(50% - 5px); bottom: -5px; } .h8 { right: -5px; bottom: -5px; }

.big { font-family: var(--display); font-weight: 400; font-size: clamp(56px, 7vw, 96px); line-height: .9; letter-spacing: -.03em; text-transform: uppercase; }
.mid { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); text-transform: uppercase; letter-spacing: -.01em; margin: 30px 0 12px; }
.hello-text .big { margin-bottom: 14px; }
.hello-sub { font-weight: 700; margin-bottom: 12px; }
.hello-text p { color: var(--ink-soft); margin-bottom: 12px; max-width: 46ch; }
.hello-side .mid:first-child { margin-top: 8px; }
.line { font-size: 15px; color: var(--ink-soft); }

.tools { display: grid; grid-template-columns: repeat(3, 52px); gap: 10px; }
.tools li { position: relative; }
.tile {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 13px;
  font-weight: 700; font-size: 19px; letter-spacing: -.02em;
  border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  transition: transform .18s var(--ease);
}
.tip {
  position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%);
  padding: 3px 8px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 12px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .15s ease; z-index: 2;
}
@media (hover: hover) and (pointer: fine) {
  .tools li:hover .tile { transform: translateY(-4px) rotate(-6deg); }
  .tools li:hover .tip { opacity: 1; }
}
.t-fig { background: #1e1e1e; padding: 10px 0; }
.figma { height: 100%; width: auto; display: block; margin: 0 auto; }
.t-ps { background: #001e36; color: #31a8ff; }
.t-ai { background: #330000; color: #ff9a00; }
.t-ae { background: #00005b; color: #9999ff; }
.t-pr { background: #00005b; color: #9999ff; }
.t-vs { background: #fff; padding: 9px; }
.vsc { width: 100%; height: 100%; display: block; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips li { padding: 6px 12px; border-radius: 999px; border: 2px solid var(--ink); font-size: 14px; font-weight: 600; background: #fff; }
.chips li:nth-child(5n+1) { background: var(--yellow); }
.chips li:nth-child(5n+2) { background: var(--pink); }
.chips li:nth-child(5n+4) { background: var(--mint); }
.chips li:nth-child(5n)   { background: var(--cobalt); color: #fff; }
.chips-sm li { padding: 4px 10px; font-size: 12.5px; }

/* ── 3 · Bande noire déchirée ── */
.band { position: relative; color: #fff; scroll-margin-top: 40px; }
.tear { display: block; width: 100%; height: clamp(26px, 4vw, 54px); fill: var(--ink); }
.tear-top { margin-bottom: -1px; }
.tear-bottom { margin-top: -1px; }
.band-inner { background: var(--ink); padding: 18px 0 clamp(40px, 6vh, 70px); text-align: center; overflow: hidden; }

.marquee { overflow: hidden; border-block: 2px solid #fff; padding: 10px 0; margin-bottom: clamp(36px, 6vh, 64px); transform: rotate(-1.2deg) scale(1.03); background: var(--coral); }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marq 26s linear infinite; }
.marquee-track span { font-family: var(--display); font-size: clamp(16px, 2vw, 24px); text-transform: uppercase; white-space: nowrap; color: var(--ink); }
.marquee-track i { font-style: normal; font-size: 20px; color: #fff; }
@keyframes marq { to { transform: translateX(-50%); } }

.band-title { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 6.4vw, 88px); line-height: .92; letter-spacing: -.03em; text-transform: uppercase; padding: 0 var(--gutter); }
.band-title em { font-style: normal; color: var(--yellow); }
.only-mob { display: none; }
@media (max-width: 720px) { .only-desk { display: none; } .only-mob { display: inline; } }
.band-hand { color: var(--pink); font-size: clamp(22px, 2.4vw, 30px); margin: 8px 0 clamp(24px, 4vh, 40px); transform: rotate(-2deg); }

/* ── MacBook ── */
.macbook { width: min(980px, calc(100% - 2 * var(--gutter))); margin: 0 auto; }
.mb-screen {
  background: #0c0c0e; border-radius: 18px 18px 6px 6px;
  padding: 2.2% 2.2% 3%; border: 2px solid #2b2b30;
  box-shadow: 0 0 0 1px #000, 0 30px 70px rgba(0, 0, 0, .55);
}
.mb-base {
  position: relative; height: 18px; margin: 0 -6%;
  background: linear-gradient(#c9cbd1, #8e9097); border-radius: 0 0 14px 14px;
}
.mb-base span { position: absolute; left: 50%; top: 0; width: 16%; height: 7px; transform: translateX(-50%); background: #7c7e85; border-radius: 0 0 8px 8px; }

.mac {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px;
  background:
    radial-gradient(circle at 18% 22%, #ff8fd1 0, transparent 38%),
    radial-gradient(circle at 82% 30%, #ffd23f 0, transparent 34%),
    radial-gradient(circle at 60% 85%, #5266eb 0, transparent 46%),
    radial-gradient(circle at 15% 90%, #7ee0b8 0, transparent 36%),
    linear-gradient(135deg, #6f5cf0, #ff6a4d);
  text-align: left; color: #fff; user-select: none;
  container-type: inline-size;
}
.mac-bar {
  position: absolute; inset: 0 0 auto; height: 3.6cqw; min-height: 18px; z-index: 5;
  display: flex; align-items: center; gap: 1.6cqw; padding: 0 1.6cqw;
  background: rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  font-size: clamp(9px, 1.35cqw, 13px); color: #111;
}
.mac-bar b { font-weight: 700; }
.mb-apple { width: 1.3cqw; min-width: 8px; aspect-ratio: 1; border-radius: 50% 50% 45% 45%; background: #111; }
.mac-clock { margin-left: auto; font-variant-numeric: tabular-nums; }

/* icônes du bureau */
.mac-icons { position: absolute; inset: 0; z-index: 2; }
.dicon {
  position: absolute; left: var(--x); top: var(--y);
  width: 11cqw; min-width: 64px;
  display: flex; flex-direction: column; align-items: center; gap: .6cqw;
  background: none; border: 0; padding: 4px; border-radius: 6px;
  color: #fff; font: inherit; cursor: grab; touch-action: none;
}
.dicon img { width: 8cqw; min-width: 48px; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: 3px; border: 2px solid #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); pointer-events: none; }
.dicon span { font-size: clamp(9px, 1.15cqw, 12px); font-weight: 600; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); padding: 1px 5px; border-radius: 4px; white-space: nowrap; }
.dicon.is-active span, .dicon:focus-visible span { background: #2f6fe8; text-shadow: none; }
.dicon.is-dragging { cursor: grabbing; z-index: 3; }
.fi {
  display: grid; place-items: center; width: 5.4cqw; min-width: 34px; aspect-ratio: 1; border-radius: 10px;
  font-style: normal; font-weight: 800; font-size: clamp(11px, 1.6cqw, 16px); box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}
.fi-fig { background: #1e1e1e; }
.fi-fig .figma, .d-fig .figma { width: 42%; height: auto; }
.fi-ai { background: #330000; color: #ff9a00; }
.fi-pdf { background: #fff; color: #e5252a; border-radius: 4px; aspect-ratio: 3 / 4; }
.fi-folder { background: linear-gradient(#7cc4ff, #3e9df5); border-radius: 4px 10px 6px 6px; aspect-ratio: 5 / 4; position: relative; }
.fi-folder::before { content: ''; position: absolute; left: 0; top: -12%; width: 42%; height: 18%; background: #5fb2fb; border-radius: 4px 4px 0 0; }

/* fenêtre navigateur */
.win {
  position: absolute; left: 18%; top: 10%; width: 64%; z-index: 4;
  border-radius: 10px; overflow: hidden; background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4), 0 0 0 1px rgba(0, 0, 0, .2);
  transition: transform .35s var(--ease), opacity .25s ease;
}
.win.is-switching { transform: scale(.97); opacity: .6; }
.win-bar { display: flex; align-items: center; gap: 2cqw; height: 4.4cqw; min-height: 24px; padding: 0 1.6cqw; background: #ececec; border-bottom: 1px solid #d6d6d6; }
.dots { display: flex; gap: .7cqw; }
.dots i { width: 1.2cqw; min-width: 8px; aspect-ratio: 1; border-radius: 50%; }
.dots i:nth-child(1) { background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.win-url {
  flex: 1; text-align: center; font-size: clamp(9px, 1.25cqw, 13px); color: #333; text-decoration: none;
  background: #fff; border-radius: 6px; padding: .35cqw 0; margin-right: 6cqw;
}
.win-body { aspect-ratio: 4 / 3; overflow: hidden; background: #111; }
.win-body img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.mac-dock {
  position: absolute; left: 50%; bottom: 1.6cqw; transform: translateX(-50%); z-index: 5;
  display: flex; align-items: center; gap: .9cqw; padding: .8cqw 1cqw;
  background: rgba(255, 255, 255, .26); border: 1px solid rgba(255, 255, 255, .4); border-radius: 1.8cqw;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.mac-dock i {
  display: grid; place-items: center; width: 4.4cqw; min-width: 24px; aspect-ratio: 1; border-radius: 1.1cqw;
  font-style: normal; font-weight: 700; font-size: clamp(9px, 1.5cqw, 15px);
}
.d-sep { width: 1px; height: 4cqw; background: rgba(255, 255, 255, .5); }
.d-finder { background: none; padding: 0; overflow: hidden; }
.finder { width: 100%; height: 100%; display: block; }
.d-fig { background: #1e1e1e; }
.d-ps { background: #001e36; color: #31a8ff; } .d-ai { background: #330000; color: #ff9a00; }
.d-ae { background: #00005b; color: #9999ff; } .d-vs { background: #fff; padding: .6cqw; }
.d-gmail { background: #fff; padding: .75cqw; }
.d-gmail svg { width: 100%; height: auto; display: block; }

/* sélecteur de projet sous le MacBook */
.switch { display: flex; justify-content: center; gap: 12px; margin-top: 30px; padding: 0 var(--gutter); flex-wrap: wrap; }
.switch-btn {
  font: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
  padding: 10px 18px; border-radius: 999px; border: 2px solid #fff;
  background: transparent; color: #fff;
  transition: background-color .2s ease, color .2s ease, transform .16s var(--ease);
}
.switch-btn.is-active { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.switch-btn:active { transform: scale(.97); }

/* ── 4 · Polaroïds ── */
.projects {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(70px, 10vh, 110px) var(--gutter) clamp(50px, 8vh, 80px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px);
}
.polaroid {
  position: relative; background: #fff; padding: 16px 16px 24px;
  border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink);
  transition: transform .25s var(--ease);
}
.p-left { --rot: -2deg; transform: rotate(var(--rot)); }
.p-right { --rot: 1.6deg; transform: rotate(var(--rot)); margin-top: 40px; }
@media (hover: hover) and (pointer: fine) { .polaroid:hover { transform: rotate(0) translateY(-4px); } }
.pol-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border: 2px solid var(--ink); }
.pol-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
@media (hover: hover) and (pointer: fine) { .polaroid:hover .pol-img img { transform: scale(1.04); } }
.tape { position: absolute; top: -14px; left: 50%; width: 110px; height: 28px; transform: translateX(-50%) rotate(-3deg); background: rgba(255, 210, 63, .85); }
.tape-pink { background: rgba(255, 143, 209, .85); transform: translateX(-50%) rotate(4deg); }
.polaroid h3 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.6vw, 34px); text-transform: uppercase; letter-spacing: -.02em; margin: 18px 0 6px; }
.polaroid p { color: var(--ink-soft); font-size: 15px; max-width: 40ch; }
.polaroid .chips { margin: 14px 0 18px; }

/* ── 5 · Post-it ── */
.method { max-width: var(--max); margin: 0 auto; padding: clamp(50px, 8vh, 90px) var(--gutter) clamp(90px, 14vh, 140px); }
.method .big { margin-bottom: clamp(28px, 4vh, 44px); }
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 36px); }
.note { padding: 24px 24px 28px; min-height: 200px; border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.note:nth-child(1) { transform: rotate(-2deg); }
.note:nth-child(2) { transform: rotate(1.5deg); margin-top: 26px; }
.note:nth-child(3) { transform: rotate(-1deg); margin-top: 8px; }
.n-yellow { background: var(--yellow); } .n-pink { background: var(--pink); } .n-blue { background: #a9b6ff; }
.n-num { font-family: var(--display); font-size: 40px; line-height: 1; }
.note h3 { font-family: var(--display); font-weight: 400; font-size: 21px; text-transform: uppercase; margin: 14px 0 8px; }
.note p { font-size: 15px; }

/* ── 6 · Contact ── */
.contact { color: #fff; }
.contact-inner { background: var(--ink); text-align: center; padding: clamp(40px, 7vh, 80px) var(--gutter) 20px; }
.contact-hand { color: var(--yellow); font-size: clamp(26px, 3vw, 38px); transform: rotate(-3deg); }
.contact-title { font-family: var(--display); font-weight: 400; font-size: clamp(54px, 10vw, 150px); line-height: .86; letter-spacing: -.04em; text-transform: uppercase; margin: 6px 0 26px; }
.contact-title .q { color: var(--coral); }
.contact-mail {
  display: inline-block; font-family: var(--display); font-size: clamp(20px, 3.4vw, 44px); text-decoration: none;
  background: var(--yellow); color: var(--ink); padding: .2em .55em; border-radius: 999px; border: 2px solid #fff;
  box-shadow: 5px 5px 0 var(--cobalt); transition: transform .16s var(--ease), box-shadow .16s var(--ease);
  overflow-wrap: anywhere;
}
@media (hover: hover) and (pointer: fine) { .contact-mail:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--cobalt); } }
.contact-note { margin-top: 18px; color: #c9c9c9; font-size: 15px; }
.foot { background: var(--ink); color: #aaa; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px var(--gutter) 30px; font-size: 14px; border-top: 1px solid #333; }
.foot-links { display: flex; gap: 18px; }
.foot a { color: #fff; text-decoration: none; }

/* ── Apparitions ── */
.reveal { opacity: 0; translate: 0 26px; transition: opacity .7s ease, translate .9s var(--ease); }
.reveal.in { opacity: 1; translate: 0 0; }

/* ── Responsive ── */
@media (max-width: 980px) {
  .hello { grid-template-columns: 1fr 1.4fr; }
  .hello-side { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .hello-side > * { grid-column: auto; }
}
@media (max-width: 720px) {
  .top-nav { display: none; }
  .hero-meta { font-size: 11px; }
  .hero-hand { margin-left: 30%; }
  .hello { grid-template-columns: 1fr; }
  .portrait { max-width: 260px; margin: 0 auto; width: 70%; }
  .hello-side { display: block; }
  .projects { grid-template-columns: 1fr; }
  .p-right { margin-top: 0; }
  .notes { grid-template-columns: 1fr; }
  .note { min-height: 0; }
  .note:nth-child(2), .note:nth-child(3) { margin-top: 0; }
  /* sur téléphone : la fenêtre occupe l'écran, les boutons dessous font le choix */
  .win { left: 5%; width: 90%; top: 13%; }
  .win-body { aspect-ratio: 16 / 9; }
  .mac-icons, .mac-dock { display: none; }
  .mac-bar span:not(.mac-clock):not(.mb-apple) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ht-logo, .marquee-track { animation: none; }
  .reveal { translate: 0 0; transition: opacity .4s ease; }
}

/* ── Icônes Adobe : police et proportions des logos officiels ──
   Source Sans 3 = police libre d'Adobe, proche d'Adobe Clean ;
   liseré intérieur de la couleur des lettres, comme les icônes actuelles */
.t-ps, .t-ai, .t-ae, .t-pr, .d-ps, .d-ai, .d-ae, .fi-ai {
  font-family: 'Source Sans 3', var(--sans);
  font-weight: 600;
  letter-spacing: -.01em;
  position: relative;
}
.t-ps, .t-ai, .t-ae, .t-pr { font-size: 23px; }
.d-ps, .d-ai, .d-ae { font-size: clamp(11px, 1.9cqw, 19px); }
.fi-ai { font-size: clamp(13px, 2.2cqw, 21px); }
.t-ps::after, .t-ai::after, .t-ae::after, .t-pr::after,
.d-ps::after, .d-ai::after, .d-ae::after, .fi-ai::after {
  content: ''; position: absolute; inset: 7%;
  border: 1.5px solid currentColor; border-radius: 22%;
  opacity: .9; pointer-events: none;
}

/* ── Page Mentions légales & confidentialité ── */
.legal { max-width: 860px; margin: 0 auto; padding: clamp(40px, 7vh, 80px) var(--gutter) clamp(60px, 10vh, 100px); }
.legal-hand { font-size: clamp(22px, 2.4vw, 30px); transform: rotate(-3deg); display: inline-block; }
.legal .big { font-size: clamp(42px, 7vw, 84px); }
.legal-date { color: var(--muted); font-size: 14px; margin: 8px 0 34px; }
.legal-sub { margin: 56px 0 26px; }
.legal-card {
  background: #fff; border: 2px solid var(--ink); border-radius: 16px;
  box-shadow: 6px 6px 0 var(--ink); padding: 24px 26px; margin-bottom: 22px;
}
.legal-card .mid { margin: 0 0 14px; font-size: clamp(19px, 2vw, 24px); }
.legal-card p { color: var(--ink-soft); margin-bottom: 10px; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-card a { color: var(--cobalt); font-weight: 600; }
.legal-card dl { display: grid; grid-template-columns: 210px 1fr; gap: 10px 18px; }
.legal-card dt { font-weight: 700; }
.legal-card dd { color: var(--ink-soft); }
.legal-card .todo { background: var(--yellow); padding: 2px 8px; border-radius: 6px; color: var(--ink); justify-self: start; }
.legal-list li { color: var(--ink-soft); padding-left: 18px; position: relative; margin-bottom: 8px; }
.legal-list li::before { content: '✱'; position: absolute; left: 0; color: var(--coral); font-size: 12px; top: 4px; }
.legal-back { margin-top: 34px; }
.foot-solo { border-top: 0; }
@media (max-width: 620px) {
  .legal-card dl { grid-template-columns: 1fr; gap: 2px; }
  .legal-card dd { margin-bottom: 10px; }
}
