/* =========================================================
   Giuseppe Lanzafame · Bold Colour
   The whole page fits one screen: header, tabs, shortcuts,
   cards and the bottom bar share the window height.
   ========================================================= */
:root {
  --bg: #ffffff;
  --ink: #0e0e0e;
  --muted: #c4c4c4;
  --orange: #e0805f;
  --blue: #5670c4;
  --yellow: #ecd273;
  --green: #5daa8c;
  --pink: #e9b0c8;
  --pad: clamp(18px, 6vw, 100px);
  /* sizes follow whichever is tighter: width or height */
  --u: min(1vw, 1.6vh);
  --name-size: clamp(17px, 1.35vw, 20px); /* your name, top left (same size in the intro) */
  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
html { overflow: hidden; }

body {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
/* focus outline only for people navigating with the Tab key (never after a click or tap) */
*:focus { outline: none; }
body.kbd :focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

/* ---------- top bar ---------- */
.top {
  flex: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: clamp(14px, 3vh, 30px) var(--pad) 0;
}
.name { text-decoration: none; font-size: var(--name-size); font-weight: 500; }
.lang { display: flex; gap: 6px; font-size: 14px; color: var(--muted); padding: 12px 14px; margin: -12px -14px; cursor: pointer; -webkit-tap-highlight-color: transparent; }   /* one switch; padding = a bigger area to tap, without moving it */
.lang button { color: var(--muted); }
.lang button[aria-pressed="true"] { color: var(--ink); font-weight: 900; }

/* ---------- main column ---------- */
main { flex: 1; min-height: 0; display: flex; flex-direction: column; }

/* WHAT / FOR WHO */
.tabs {
  flex: none;
  display: flex; flex-wrap: wrap; justify-content: space-between;   /* EXPERTISE left, CASES on the far right */
  gap: 0 clamp(24px, 5vw, 80px);
  padding: clamp(14px, 4vh, 48px) var(--pad) 0;
}
.tabs button {
  font-size: clamp(38px, calc(var(--u) * 8), 128px);
  line-height: .9;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.045em;
  color: var(--muted);
  transition: color .25s;
}
.tabs button:hover, .tabs button[aria-selected="true"] { color: var(--ink); }
/* the big heading's first letter has built-in side space: nudge so its ink lines up with the left margin
   (W of WHAT I DO has almost none, C of COSA FACCIO a little) */
html[lang="it"] .tabs button:first-child { margin-left: -.03em; }
@media (max-width: 600px) {   /* phones: both tabs on one row (sized to the longer language, IT) */
  .tabs { flex-wrap: nowrap; gap: 0 .3em; font-size: calc((100vw - 2 * var(--pad)) / 10.4); }
  .tabs button { font-size: 1em; white-space: nowrap; }
}

/* CASES menu: black logos, right-aligned (like the CASES heading); each opens its case */
body:not(.view-what) .shortcuts { flex-wrap: wrap; justify-content: flex-end; overflow: visible; gap: 10px clamp(20px, 2.4vw, 40px); align-items: center; }   /* right-aligned; wraps on phones */
.shortcuts .mini-logo { display: inline-flex; align-items: center; gap: .3em; font-size: clamp(22px, 2.3vw, 34px); padding: 2px 0; transition: opacity .2s; }
@media (max-width: 600px) { .shortcuts .mini-logo { font-size: 21px; } }
.mini-logo img { display: block; width: auto; filter: brightness(0); }
.mini-logo:hover { opacity: .55; }
.mini-logo .mini-name { font-size: .6em; font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }

/* footer: fixed at the bottom on desktop (everything fits the screen); on phones it comes
   at the end of each item instead, so it only shows after scrolling down */
.rail .card-foot { display: none; }   /* (desktop: only the page footer) */
@media (max-width: 600px) {
  body > footer.bottom { display: none; }
  .view-what .card-foot { display: flex; margin-top: auto; padding: clamp(28px, 5vh, 44px) 0 0; }
  .view-what .card-foot .link, .view-what .card-foot .copy { pointer-events: auto; }
}

/* CASES hidden (showCases: false in data.js) */
body.no-cases #tab-forWho { display: none; }
body.no-cases .tabs button { pointer-events: none; cursor: default; }   /* WHAT I DO is just a heading */
body.no-cases .tabs { display: none; }   /* no big heading: the name on top is the title */
body.no-cases .top .name { font-size: clamp(26px, calc(var(--u) * 3.2), 48px); font-weight: 800; letter-spacing: -.025em; line-height: 1; }
body.no-cases .shortcuts { padding-top: clamp(18px, 4vh, 44px); }

/* EXPERTISE logo groups: a "Cases" box (clickable logos) and "Other clients" below */
.logo-groups { flex: none; display: flex; --lg-top: clamp(16px, 2.8vh, 34px); flex-wrap: wrap; align-items: stretch;   /* Cases box and Other clients side by side (wrap on narrow screens) */ gap: clamp(10px, 1.6vh, 18px) clamp(24px, 3vw, 48px); margin-top: var(--lg-top); max-width: 100%; }
.logo-group { max-width: 100%; display: flex; flex-direction: column; }
.view-what .rail > .card .logo-groups .logos { flex: 1 1 auto; justify-content: center; }   /* side by side: both logo rows share the same middle line */
.logo-group .group-label { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8a8a8a; }
.logo-group { padding: clamp(14px, 2vh, 20px) clamp(16px, 1.8vw, 26px) clamp(16px, 2.2vh, 24px); }   /* same inner spacing as the box, so the labels and logos line up */
.view-what .rail > .card .others .logos li.logo-row.wrap { flex-wrap: wrap; row-gap: .9em; }
.logo-group.others { padding-left: 0; padding-right: 0; flex: 1 1 260px; min-width: 0; }   /* takes the rest of the row; its logos wrap inside it */
.cases-box { flex: none; }
@media (max-width: 600px) { .logo-groups .logos li.logo-row { gap: 1em; } .cases-box { padding-left: 14px; padding-right: 14px; } }   /* phones: case logos stay on one row */
.cases-box { background: #f3f3f3; border-radius: clamp(14px, 1.6vw, 22px); padding: clamp(14px, 2vh, 20px) clamp(16px, 1.8vw, 26px) clamp(16px, 2.2vh, 24px); }
.view-what .rail > .card .logo-groups .logos { margin: 0; padding: 0; }
.cases-box .logo { opacity: 1 !important; }
.cases-box .logo img { transition: filter .25s ease; }
@media (hover: hover) { .view-what .rail > .card .cases-box .logo:hover img { filter: none; } }   /* hover: the logo shows its own colours */

/* picker screen (right after the intro): only EXPERTISE and CASES, very large, one per line */
body.picking .shortcuts, body.picking .rail-wrap { display: none; }
body.picking .tabs { flex: 1; flex-direction: column; flex-wrap: nowrap; justify-content: center; gap: .04em; padding-bottom: clamp(14px, 4vh, 48px); }
body.picking .tabs button {
  font-size: min(calc((100vw - 2 * var(--pad)) / 6.75), 27vh);
  color: var(--ink); text-align: left; white-space: nowrap;
}
body.picking .tabs button:hover { color: var(--muted); }
body.picking .tabs button[data-view="forWho"] { align-self: flex-end; }
/* after picking: the section fades in while the headings shrink into place */
body.revealing .shortcuts, body.revealing .rail-wrap { animation: reveal .5s .3s ease both; }
@keyframes reveal { from { opacity: 0; } }

/* shortcut row: one mini card per big card */
.shortcuts {
  flex: none;
  display: flex; gap: 4px clamp(16px, 1.8vw, 26px);
  padding: clamp(12px, 2.4vh, 26px) var(--pad) clamp(10px, 2vh, 20px);
  overflow-x: auto; scrollbar-width: none;
  scroll-padding-left: var(--pad);
}
.shortcuts::-webkit-scrollbar { display: none; }
.mini {
  flex: none;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 500;
  color: #9a9a9a;
  white-space: nowrap;
  transition: color .2s;
}
.mini:hover { color: var(--ink); }
.mini[aria-current="true"] { color: var(--ink); font-weight: 600; }

/* ---------- EXPERTISE: plain sub-menu (black = selected, light grey = others) + one coloured panel ---------- */
.view-what .shortcuts { gap: 4px clamp(18px, 2vw, 32px); }
.view-what .mini {
  font-size: clamp(15px, 1.25vw, 19px); font-weight: 600; letter-spacing: -.01em;
  color: #b5b5b5; transition: none;
}
.view-what .mini:hover, .view-what .mini[aria-current="true"] { color: var(--ink); }
.view-what .rail { gap: calc(2 * var(--pad)); transition: opacity .22s ease, transform .3s cubic-bezier(.2,.7,.2,1); }
/* switching items: quick fade out (sliding away a little when it's the next/previous item), then in */
.view-what .rail.fade-out { opacity: 0; transform: translateX(calc(-1 * var(--slide, 0px))); transition: opacity .14s ease, transform .14s ease-in; }
.view-what .rail.fade-in { opacity: 0; transform: translateX(var(--slide, 0px)); transition: none; }
/* phones: the three labels share one row (text sized to fit, never below 12px); wraps instead of clipping */
@media (max-width: 600px) {
  .view-what .shortcuts { flex-wrap: wrap; gap: 4px 10px; overflow-x: visible; justify-content: space-between; }   /* spread across: last item ends at the right margin, under EN */
  .view-what .mini { font-size: max(11.5px, min(15px, calc((100vw - 2 * var(--pad) - 24px) / 21.8))); }
}
/* small, short phones (e.g. 320x568): slightly smaller description so the logos keep a legible size */
@media (max-width: 360px) and (max-height: 640px) {
  .view-what .card .desc { font-size: 13px; line-height: 1.38; }
}
.view-what .rail > .card { width: calc(100vw - 2 * var(--pad)); border-radius: clamp(18px, 2vw, 32px); overflow-y: auto; scrollbar-width: none; }
.view-what .rail > .card::-webkit-scrollbar { display: none; }
.view-what .rail > .card .logos { flex: none; }   /* long text: logos follow it (the panel scrolls) */
/* no coloured box: text and logos sit straight on the page, aligned with the menu above */
.view-what .rail > .card {
  --card: transparent; --card-ink: var(--ink); --card-muted: rgba(14,14,14,.72);
  background: transparent; border-radius: 0; padding-left: 0; padding-right: 0;
}
.view-what .rail > .card .logo img { filter: brightness(0); }
/* hierarchy: the name on top is the big title; the item title is a clear step down (smaller, lighter) */
.view-what .rail > .card h2 { font-size: clamp(20px, calc(var(--u) * 1.85), 28px); font-weight: 700; margin-top: 0; text-transform: none; letter-spacing: -.015em; line-height: 1.1; }   /* smaller tab title, right under the menu */
.view-what .rail > .card { padding-top: clamp(4px, 1.2vh, 14px); }   /* small gap between the menu and the item title */
/* logos right under the body text, left-aligned with it */
.view-what .rail > .card .logos { margin: clamp(24px, 4vh, 44px) 0 0; align-items: flex-start; }
.view-what .rail > .card .logos li.logo-row { justify-content: flex-start; }

/* ---------- cards ---------- */
.rail-wrap { flex: 1; min-height: 0; display: flex; }
.rail {
  flex: 1; min-width: 0;
  display: flex; align-items: stretch;
  gap: clamp(12px, 1.6vw, 26px);
  overflow-x: auto; overflow-y: hidden;
  scroll-padding-left: var(--pad);
  padding: 0 var(--pad);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
/* spacers before the first / after the last card so both can sit exactly in the centre
   (margins, not widths, so they can also be negative on narrow screens) */
.rail::before { content: ""; flex: none; width: 0; margin-right: var(--head, 0px); }
.rail::after { content: ""; flex: none; width: 0; margin-left: var(--tail, 0px); }
.rail.dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.rail.dragging * { cursor: grabbing; }
.rail img { -webkit-user-drag: none; user-select: none; }

.card, .mini {
  --card-ink: var(--ink);
  --card-muted: rgba(14,14,14,.72);
  --chip-hover-bg: var(--ink);
  --chip-hover-ink: #fff;
}
.card {
  position: relative;
  flex: none;
  height: 100%;
  width: min(760px, 82vw);
  background: var(--card);
  color: var(--card-ink);
  border-radius: clamp(24px, 3vw, 44px);
  padding: clamp(20px, 3.2vh, 44px) clamp(22px, 3vw, 48px);
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: rise .5s cubic-bezier(.2,.7,.2,1) backwards;
}
/* the 5 colours, shared by big cards and mini cards */
.c0 { --card: var(--orange); }
.c1 { --card: var(--blue); --card-ink: #fff; --card-muted: rgba(255,255,255,.78); --chip-hover-bg: #fff; --chip-hover-ink: var(--blue); }
.c2 { --card: var(--yellow); }
.c3 { --card: var(--green); }
.c4 { --card: var(--pink); }
.card:nth-child(2) { animation-delay: .06s; }
.card:nth-child(3) { animation-delay: .12s; }
.card:nth-child(n+4) { animation-delay: .18s; }
@keyframes rise { from { opacity: 0; } }   /* no end value: lands on the edge fade set by effects.js */

.card > * { position: relative; z-index: 1; }
.card h2 {
  margin: clamp(12px, 2.4vh, 32px) 0 0;
  font-size: clamp(30px, calc(var(--u) * 4.4), 66px);
  font-weight: 900; line-height: .95;
  text-transform: uppercase; letter-spacing: -.035em;
}
/* FOR WHO: company logo as the card headline */
.logo-head { display: flex; align-items: center; flex-wrap: wrap; gap: .25em .3em; line-height: 1; }
.card h2.logo-head { font-size: clamp(42px, calc(var(--u) * 4.4), 66px); }
/* a company without a logo (e.g. Danone): name sized like the logo headlines */
.card h2.name-head, .sheet h2.name-head { font-size: clamp(26px, calc(var(--u) * 2.6), 40px); letter-spacing: -.02em; }
.sheet h2.logo-head { font-size: clamp(34px, calc(var(--u) * 3.6), 54px); } /* opened card: keep the logo modest */
/* website link under the logo in the opened card */
.case-text .site-link { display: inline-block; margin-top: clamp(18px, 2.6vh, 26px); }   /* website link under the body text */
.site-link {
  align-self: flex-start; margin-top: 14px;
  font-size: clamp(14px, 1.1vw, 16px); font-weight: 600; text-decoration: none;
  border-bottom: 2px solid currentColor; padding-bottom: 1px;
  transition: opacity .2s;
}
.site-link:hover { opacity: .65; }
/* case-study image in the opened card */
.shot { margin: clamp(22px, 3.5vh, 40px) 0 0; max-width: 1100px; }
.sheet .story:empty { display: none; }
.case-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; margin-top: clamp(18px, 3vh, 34px); }
.case-body .lead { margin-top: 0; }
.case-body .shot { margin-top: clamp(18px, 3vh, 30px); }
.case-body.two { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 3.5vw, 56px); align-items: start; }
.case-body.two .shot { margin: 0; height: 100%; max-height: 100%; }
.case-body.two .shot img { max-height: 100%; }
.case-text { min-height: 0; overflow: auto; }
.shot { flex: 1 1 auto; min-height: 120px; display: flex; }
.shot img {
  display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; align-self: flex-start;
  object-fit: contain; border-radius: clamp(12px, 1.4vw, 20px); box-shadow: 0 20px 50px -24px rgba(0,0,0,.45);
}
/* photo gallery (opened case): big photo + thumbnails on desktop, all photos stacked on phones */
.shot.gallery { flex-direction: column; align-items: flex-start; }
.shot.gallery { width: 100%; }
/* fixed-size frame, whole photo fitted inside (never cropped): the thumbnails underneath never move */
.shot.gallery .frame { position: relative; flex: 0 1 auto; min-height: 0; width: 100%; aspect-ratio: 3 / 2; }
.shot.gallery .main {
  position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: 100%; max-height: 100%;
  object-fit: contain; transition: opacity .15s ease;
}
.shot.gallery .main.swap { opacity: 0; }
.shot.gallery .main.off { display: none; }
.shot.gallery video.main { display: block; object-fit: contain; border-radius: clamp(12px, 1.4vw, 20px); box-shadow: 0 20px 50px -24px rgba(0,0,0,.45); }
.shot .thumbs { flex: none; display: flex; gap: clamp(6px, .8vw, 12px); margin-top: clamp(10px, 1.6vh, 16px); width: 100%; max-width: 560px; justify-content: center; align-self: center; }
.shot .thumb { flex: 0 1 calc(20% - 10px); min-width: 0; padding: 0; border-radius: 8px; opacity: .5; transition: opacity .2s; }
.shot .thumb:hover, .shot .thumb.on { opacity: 1; }
/* active thumbnail: fully visible (no outline) */
.shot .thumbs img { display: block; width: 100%; height: auto; max-width: none; max-height: none; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; box-shadow: none; }
.shot .rest { display: none; }
@media (max-width: 600px) {
  .shot .thumbs { display: none; }
  .shot .rest { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; width: 100%; }
  .shot.gallery .frame { aspect-ratio: auto; }   /* phones: whole photos, stacked */
  .shot.gallery .main { position: static; width: 100%; }
}
.logo-head img { display: block; width: auto; max-width: 100%; filter: brightness(0); }
.c1 .logo-head img, .overlay.c1 .logo-head img { filter: brightness(0) invert(1); }
.logo-head .logo-sep { font-size: 1.1em; font-weight: 400; }
.logo-head .head-name { font-size: .5em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.card .desc p { margin: 0; }
.card .desc p + p { margin-top: .75em; }   /* space between paragraphs */
.card .desc {
  margin: clamp(10px, 1.8vh, 18px) 0 0; max-width: 30em;
  font-size: clamp(14px, 1.15vw, 18px); line-height: 1.45;
  color: var(--card-muted);
}

/* bottom of FOR WHO cards: skills as pills */
.chips, .logos { margin: auto 0 0; padding: 16px 0 0; list-style: none; display: flex; flex-wrap: wrap; }
.chips li, .logos li { display: contents; }
.chips li.pill, .logos li.logo { display: inline-flex; }
.chips { gap: 8px; }
.pill {
  height: clamp(32px, 4.6vh, 42px); padding: 0 clamp(12px, 1.2vw, 18px);
  border: 2px solid currentColor; border-radius: 999px;
  display: inline-flex; align-items: center;
  font-size: clamp(12px, 1vw, 14px); font-weight: 600; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
button.pill:hover, button.pill:focus-visible { background: var(--chip-hover-bg); color: var(--chip-hover-ink); border-color: var(--chip-hover-bg); }

/* bottom of WHAT cards: companies as logos (or name as text if no logo) */
.logos { flex-direction: column; align-items: flex-end; gap: .9em; margin-left: auto; }
.logos li.logo-row { display: flex; align-items: center; justify-content: flex-end; gap: 1.6em; }
.chips.rows { flex-direction: column; align-items: flex-end; margin-left: auto; }
.chips.rows li.logo-row { display: flex; flex-wrap: wrap-reverse; justify-content: flex-end; gap: 8px; }   /* if a row is too wide (phones), the extra pill goes on top */
.card .logos { font-size: clamp(11.3px, 0.93vw, 14.6px); } /* JS sets this to 1.12x (as far as every card allows) */
.logo {
  display: inline-flex; align-items: center; gap: .45em;
  font-size: 1em; /* logo sizes are relative to the .logos row */
  transition: opacity .2s, transform .2s;
}
.logo img { display: block; width: auto; max-width: 9em; filter: brightness(0); }
.c1 .logo img, .overlay.c1 .logo img { filter: brightness(0) invert(1); }
.logo-sep { font-size: 1.6em; font-weight: 400; line-height: 1; margin: 0 -.05em; }
.logo-text { font-size: 1em; font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; }
.card .logos .logo { opacity: .57; }   /* WHAT logos: never clickable, slightly transparent */

/* top row of a card: label left; founder badge + open button right */
.card-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.founder {
  display: inline-flex; align-items: center; height: 30px; padding: 0 14px;
  border-radius: 999px; background: var(--card-ink); color: var(--card);
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.sheet-top .card-right { gap: 14px; }
/* top row of a card: label left, open button right */
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; min-height: 18px; }
.card.opens { cursor: pointer; }
.open {
  flex: none;
  width: clamp(38px, 5vh, 48px); height: clamp(38px, 5vh, 48px);
  margin: -6px -6px 0 0;
  border: 2px solid currentColor; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, transform .3s;
}
.open svg { width: 20px; height: 20px; }
.card.opens:hover .open { background: var(--chip-hover-bg); color: var(--chip-hover-ink); border-color: var(--chip-hover-bg); transform: rotate(90deg); }

/* brief highlight when you land on a card from a circle */
.card.flash { animation: flash .9s ease; }
@keyframes flash { 0%, 100% { box-shadow: 0 0 0 0 var(--ink); } 25% { box-shadow: 0 0 0 4px var(--ink); } }

.t-short { display: none; }
@media (max-width: 600px) { .t-long { display: none; } .t-short { display: inline; } }

/* ---------- FOR WHO: bare logo + labels underneath (no card) ---------- */
.card.bare {
  --card: #f3f3f3; --card-ink: var(--ink); --card-muted: #666;
  --chip-hover-bg: var(--ink); --chip-hover-ink: #fff;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 24px 60px -24px rgba(0,0,0,.28);
  justify-content: center; align-items: center; text-align: center;
}
.card.bare .card-top { position: static; min-height: 0; justify-content: center; margin-bottom: clamp(18px, 3vh, 30px); }
.card.bare .card-top:empty { display: none; }
.card.bare .card-right { margin-left: 0; }
.card.bare h2.logo-head, .card.bare h2.name-head { justify-content: center; margin: 0; }
.card.bare h2.logo-head { font-size: clamp(38px, calc(var(--u) * 3.9), 58px); }
.card.bare .logo-head img, .overlay.white .logo-head img { filter: none; }   /* Cases: logos in their original colours */
.card.bare .founder, .overlay.white .founder { background: #737373; color: #fff; }   /* founder / agency label: grey */
.card.bare .chips.rows { margin: clamp(22px, 4vh, 40px) 0 0; align-items: center; }
.card.bare .chips.rows li.logo-row { justify-content: center; }
.card.bare .flash, .card.bare.flash { animation: none; }
.card.bare .case-thumb { margin: clamp(16px,3vh,30px) 0 0; flex: 0 1 auto; min-height: 0; max-width: 100%; display: flex; justify-content: center; }
.card.bare .case-thumb img { display: block; max-width: 100%; max-height: min(100%, 44vh); width: auto; height: auto; object-fit: contain; border-radius: clamp(10px,1.2vw,16px); box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 14px 30px -20px rgba(0,0,0,.35); }
.card.bare .chips.rows { flex: none; }

/* ---------- opened card ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 30;
  padding: clamp(10px, 2vw, 28px);
  background: rgba(14,14,14,.55);
  align-items: center; justify-content: center;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex;
  opacity: 0; transition: opacity .25s;
}
.overlay[hidden] { display: none; }
.overlay.show { opacity: 1; }
.overlay .sheet {
  width: min(1080px, 100%); height: min(760px, 100%); max-height: 100%; align-self: center;   /* same size for every case */
  --card-ink: var(--ink); --card-muted: rgba(14,14,14,.72); --chip-hover-bg: var(--ink); --chip-hover-ink: #fff;
  flex: none; overflow-y: auto;
  background: var(--card); color: var(--card-ink);
  border-radius: clamp(24px, 3vw, 44px);
  padding: clamp(22px, 4vh, 56px) clamp(22px, 5vw, 80px);
  display: flex; flex-direction: column;
  transform: translateY(24px) scale(.98); transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.overlay.white .sheet { --card: #f3f3f3; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 30px 80px -30px rgba(0,0,0,.3); }
.overlay.c1 .sheet { --card-ink: #fff; --card-muted: rgba(255,255,255,.78); --chip-hover-bg: #fff; --chip-hover-ink: var(--blue); }
.overlay.show .sheet { transform: none; }
@media (max-width: 600px) {   /* phones: the opened case is a full screen page, not a floating window */
  .overlay { padding: 0; }
  .overlay .sheet { width: 100%; height: 100%; max-height: none; border-radius: 0; box-shadow: none; }
}
.sheet-top { display: flex; justify-content: space-between; align-items: center; }
/* opened case: badge + close sit top right; the logo and text start at the very top, level with them */
.overlay .sheet { position: relative; }
.overlay .sheet-top { position: absolute; top: clamp(22px, 4vh, 56px); right: clamp(22px, 5vw, 80px); z-index: 2; }
.overlay .sheet > .head-row { margin-top: calc(clamp(28px, 7vh, 64px) + clamp(16px, 4vh, 48px)); padding-right: 80px; }
@media (max-width: 600px) { .overlay .sheet > .head-row { padding-right: 0; margin-top: 64px; } }
/* logo + "I'm the founder" label on one row */
.head-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; }
.head-row > h2, .sheet .head-row > h2 { margin: 0; }
.card.bare .head-row { justify-content: center; }
.close {
  width: 48px; height: 48px; border: 2px solid currentColor; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.close svg { width: 20px; height: 20px; }
.close:hover { background: var(--chip-hover-bg); color: var(--chip-hover-ink); border-color: var(--chip-hover-bg); }
.sheet h2 {
  margin: clamp(16px, 4vh, 48px) 0 0;
  font-size: clamp(44px, calc(var(--u) * 9), 150px);
  font-weight: 900; line-height: .9; text-transform: uppercase; letter-spacing: -.045em;
}
.sheet .lead { margin: 24px 0 0; max-width: 34em; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.4; }
.sheet .story { margin: 24px 0 0; max-width: 40em; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.6; color: var(--card-muted); white-space: pre-line; }
.sheet .chips { padding-top: 32px; }
.pill.static, .logo.static { cursor: default; }

/* password form */
.pw { margin-top: auto; padding-top: 32px; max-width: 520px; }
.pw-lead { margin: 0 0 16px; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.45; }
.pw-row { display: flex; gap: 8px; }
.pw input {
  flex: 1; min-width: 0; height: 64px; padding: 0 24px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: rgba(255,255,255,.9); border: 2px solid var(--card-ink); border-radius: 999px;
}
.pw input { flex: 1 0 auto; }   /* keeps its height when the row stacks on phones */
.pw input:focus { outline: none; box-shadow: 0 0 0 3px var(--card-ink); }
.pw-go {
  height: 64px; padding: 0 28px; border-radius: 999px;
  background: var(--card-ink); color: var(--card); font-weight: 600;
}
.pw-msg { margin: 10px 0 0; min-height: 1.4em; font-weight: 600; }
body.is-open { overflow: hidden; }

/* ---------- bottom bar: copyright left, CV + contact right ---------- */
.bottom {
  flex: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: clamp(12px, 2.4vh, 26px) var(--pad) clamp(14px, 2.8vh, 30px);
}
.copy { margin: 0; white-space: nowrap; font-size: clamp(10.5px, .86vw, 12.75px); color: #9a9a9a; }

.links { display: flex; align-items: baseline; gap: clamp(18px, 2.4vw, 36px); margin-left: auto; }
.link {
  font-size: clamp(14px, 1.15vw, 17px); font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s, text-decoration-color .2s;
}
.link:hover { color: var(--orange); }


/* ---------- intro (first screen) ---------- */
.top { position: relative; z-index: 20; }
.name { display: inline-block; transform-origin: 0 0; will-change: transform; }
.intro {
  position: fixed; inset: 0; z-index: 10;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 0 var(--pad) clamp(28px, 8vh, 90px);
  pointer-events: none;
}
.intro-inner { max-width: min(620px, 100%); will-change: transform, opacity; }
.intro-photo {
  display: block; width: clamp(112px, 19vh, 168px); height: auto;
  margin: 0 0 clamp(16px, 2.6vh, 26px); will-change: transform, opacity; opacity: .85;
}
.intro-text {
  margin: 0;
  font-size: clamp(16px, calc(var(--u) * 1.5), 22px);
  line-height: 1.38; font-weight: 400; letter-spacing: -.01em;
}
/* invisible placeholder: marks where the name starts before it moves to the header */
.intro-name {
  margin: clamp(18px, 3vh, 30px) 0 0;
  white-space: nowrap;
  font-size: var(--name-size);
  font-weight: 500; line-height: 1.1; letter-spacing: .02em;
  visibility: hidden;
}
.intro-down {
  margin-top: clamp(14px, 2.4vh, 24px);
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  pointer-events: auto;
  transition: background .2s, color .2s;
}
.intro-down svg { width: 18px; height: 18px; animation: nudge 1.8s ease-in-out infinite; }
.intro-down:hover { background: var(--ink); color: #fff; }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .intro-down svg { animation: none; } }
main, .bottom { will-change: opacity, transform; }
body.intro-done .intro { visibility: hidden; }

/* ---------- phone ---------- */
@media (max-width: 640px) {
  .card { width: 84vw; }
  .pill { border-width: 1.5px; }
  .sheet .pw-row { flex-direction: column; }
  .bottom { padding-top: 14px; }
  .links { gap: 14px; }
  .link { font-size: 13px; }
  .copy { font-size: 9.75px; }
}
/* very short screens (landscape phones) */
@media (max-height: 480px) {
  .card .desc { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .card { animation: none; transition: none; }
}
/* narrow phones: keep copyright + 3 links on one line */
@media (max-width: 380px) {
  .bottom { gap: 8px; }
  .links { gap: 10px; }
  .link { font-size: 12px; }
}
@media (max-width: 340px) { .links { gap: 8px; } .link { font-size: 11px; } .copy { font-size: 10px; } }

/* opened card on narrow screens: text, then image, stacked (kept last so it wins) */
@media (max-width: 860px) {
  .case-body.two { display: flex; flex-direction: column; }
  .case-body.two .shot { height: auto; margin-top: 22px; }
  .sheet .shot { flex: none; min-height: 0; }
  .sheet .shot img { max-height: none; width: 100%; }
  .sheet .case-body { flex: none; }
  .case-text { overflow: visible; }
}

/* the drum transform is driven by js/effects.js every frame: no CSS transition on it */
.card { transition: none; will-change: transform; }


/* ---------- drum overlap ----------
   Turned cards may grow a little past their row; the scroll box is taller so they aren't cut off. */
.rail-wrap { position: relative; z-index: 1; touch-action: none; }   /* swipes anywhere on the card row are handled by the site */
.rail {
  /* taller scroll box (so turned cards aren't cut off), same card height */
  margin: -160px 0; padding-top: 160px; padding-bottom: 160px;
  pointer-events: none;            /* the empty extra space doesn't block clicks on the text around */
}
.rail > .card { pointer-events: auto; touch-action: none; }   /* swipes on cards are handled by the site (works on iOS) */
main { position: relative; z-index: 1; }
/* the text around the cards sits above them, so links and names are always hoverable/clickable */
.tabs, .shortcuts { position: relative; z-index: 2; }
.bottom { position: relative; z-index: 2; }

/* ---------- card → case study morph ---------- */
.overlay.show-now .sheet { transform: none; }
/* desktop: the case is a large side panel that slides in from the right */
.overlay.side {
  padding: 0; justify-content: flex-end; align-items: stretch; opacity: 1;
  /* the page behind darkens and blurs together with the panel: same duration and easing, both ways */
  background: rgba(14,14,14,0); -webkit-backdrop-filter: blur(0px); backdrop-filter: blur(0px);
  transition: background .5s cubic-bezier(.32,.72,0,1), backdrop-filter .5s cubic-bezier(.32,.72,0,1), -webkit-backdrop-filter .5s cubic-bezier(.32,.72,0,1);
}
.overlay.side.show { background: rgba(14,14,14,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }   /* darker page behind the side panel */
.overlay.side .sheet {
  width: min(1120px, 82vw); height: 100%; max-height: none; align-self: stretch;
  border-radius: clamp(20px, 2.4vw, 36px) 0 0 clamp(20px, 2.4vw, 36px);
  transform: translateX(105%); transition: transform .5s cubic-bezier(.32,.72,0,1);
  box-shadow: -30px 0 80px -30px rgba(0,0,0,.35);
}
.overlay.side.show .sheet { transform: none; }
@media (max-width: 600px) { .overlay.side .sheet { width: calc(100% - 22px); border-radius: 22px 0 0 22px; } }   /* phones: side panel covering almost the whole screen */               /* the morph (inline transform) takes over */
/* the card stays fully coloured while it grows; only the backdrop fades in and out */
.overlay.show-now { opacity: 1; background: rgba(14,14,14,0); -webkit-backdrop-filter: none; backdrop-filter: none; transition: background .3s ease; }
.overlay.show-now.show { background: rgba(14,14,14,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet > * { transition: opacity .25s ease; }
.sheet.morphing > * { opacity: 0; transition: opacity .12s ease; }   /* content hidden while the box grows/shrinks */
/* moving between opened cases: content slides out one way and the next case slides in */
.sheet.leave-next > *, .sheet.leave-prev > * { opacity: 0; transition: opacity .16s ease, transform .16s ease; }
.sheet.leave-next > * { transform: translateX(-40px); }
.sheet.leave-prev > * { transform: translateX(40px); }
.sheet.enter-next > * { animation: case-in-next .34s cubic-bezier(.2,.8,.2,1) both; }
.sheet.enter-prev > * { animation: case-in-prev .34s cubic-bezier(.2,.8,.2,1) both; }
@keyframes case-in-next { from { opacity: 0; transform: translateX(40px); } }
@keyframes case-in-prev { from { opacity: 0; transform: translateX(-40px); } }
.morph-source { visibility: hidden; }                        /* the clicked card "becomes" the opened one */
.overlay { transition: opacity .3s ease; }

/* ---------- custom cursors (mouse/trackpad only) ---------- */
@media (pointer: fine) {
  html, body, .rail, .rail * { cursor: url("../img/cursor/arrow.svg") 3 2, auto; }   /* a black triangle with a white edge */
  a, button, [role="tab"], .card.opens, .card.opens *, button.logo, button.logo *, button.pill, .mini, label,
  .lang, .lang *, .close, .open, .site-link, .intro-down, .rail a, .rail button:not(.static), .rail button:not(.static) * {
    cursor: pointer;   /* the system hand */
  }
  .rail.dragging, .rail.dragging * { cursor: grabbing; }
  input[type="password"] { cursor: text; }
  .pill.static, .logo.static { cursor: url("../img/cursor/arrow.svg") 3 2, auto; }
}

/* ---------- site-drawn cursor (stays big everywhere, even near the window edges) ---------- */
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input[type="password"] { cursor: text !important; }
#cursor { position: fixed; left: 0; top: 0; z-index: 10000; pointer-events: none; opacity: 0; transition: opacity .15s; will-change: transform; }
#cursor img { position: absolute; display: block; }
#cursor .arrow { left: -3.6px; top: -1.8px; width: 24px; height: 24px; }   /* regular (Mac) size: the tip stays exactly on the pointer */
#cursor .hand { left: -9.7px; top: -2.1px; width: 26px; height: 26px; display: none; }
#cursor img { filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.45)); }   /* the soft shadow Mac cursors have */
#cursor.is-hand .arrow { display: none; }
#cursor.is-hand .hand { display: block; }
#cursor.is-text { opacity: 0 !important; }

/* ---------- phones: the whole page scrolls (name, menu and content together) ----------
   The item's panel fills the screen from the very top; the name and the menu sit over its first
   lines and move up with its scroll (js sets --sy, --head-h). */
@media (max-width: 600px) {
  body.view-what.intro-done main > .rail-wrap { position: absolute; left: 0; right: 0; bottom: 0; top: calc(-1 * var(--top-h, 0px)); }
  body.view-what.intro-done .view-what .rail > .card, body.view-what.intro-done .rail > .card { padding-top: calc(var(--head-h, 0px) + clamp(4px, 1.2vh, 14px)); }
  body.view-what.intro-done > .top, body.view-what.intro-done .shortcuts { transform: translateY(calc(-1 * var(--sy, 0px))); }
  /* up/down is the phone's own scrolling (its momentum and bounce); sideways swipes still change category */
  body.view-what.intro-done .rail-wrap, body.view-what.intro-done .rail, body.view-what.intro-done .rail > .card { touch-action: pan-y; }
  /* the phone only bounces a panel that can scroll: an invisible 1px makes even a short one scrollable */
  body.view-what.intro-done .rail > .card { position: relative; }
  body.view-what.intro-done .rail > .card::after { content: ""; position: absolute; top: 0; left: 0; width: 1px; height: calc(100% + 1px); pointer-events: none; }
}

/* ---------- phones: opened case — the logo and the close button stay at the top; the content
   scrolls underneath them (a clean cut, no fade) ---------- */
@media (max-width: 600px) {
  .overlay .sheet { --pt: clamp(22px, 4vh, 56px); --px: clamp(22px, 5vw, 80px); }
  .overlay .sheet > .sheet-top {
    position: sticky; top: 0; height: 0; z-index: 3; align-self: stretch;
    display: flex; justify-content: flex-end; align-items: flex-start; right: auto;
  }
  .overlay .sheet > .head-row {
    position: sticky; top: calc(-1 * var(--pt)); z-index: 2;
    margin: calc(-1 * var(--pt)) calc(-1 * var(--px)) 0;
    padding: var(--pt) calc(var(--px) + 62px) 14px var(--px);
    min-height: calc(var(--pt) + 48px + 14px);
    background: var(--card, #161617);
  }
  .overlay .sheet > .head-row + * { margin-top: 18px; }
}

/* phones: like desktop, the three tabs are the navigator (no big item title) */
@media (max-width: 600px) {
  body.no-cases.view-what .rail > .card > h2, body.no-cases.view-what .rail > .card > .card-top:empty { display: none; }
  body.no-cases.view-what .rail > .card > .desc { margin-top: 4px; }
}

/* ---------- desktop: the screen split in two ----------
   left: the site. Right: "Click a case to know more", and the opened case appears there (no sliding in) */
.case-pane { display: none; }
@media (min-width: 901px) {
  body.no-cases > .top, body.no-cases > main, body.no-cases > .bottom { width: 50vw; }
  body.no-cases.view-what .rail > .card { width: calc(50vw - 2 * var(--pad)); }
  .case-pane {
    display: flex; align-items: center; justify-content: center; text-align: center;
    position: fixed; top: 0; right: 0; bottom: 0; width: 50vw; z-index: 5;
    background: #161617; padding: var(--pad);
    opacity: 0; transition: opacity .4s ease; pointer-events: none;
  }
  body.no-cases .case-pane { opacity: 1; }   /* it comes and goes with the content (js moves it) */
  body.no-cases.intro-done .case-pane { pointer-events: auto; }   /* (it reacts to the pointer: see .pane-hover) */
  body.no-cases .cases-box { transition: background-color .3s ease; }
  body:not(.no-cases) .case-pane { display: none; }
  .case-hint { margin: 0; font-size: clamp(15px, 1.2vw, 18px); color: #e3cd4e; letter-spacing: .01em; }   /* the yellow of the down arrow */
  /* a design-tool canvas: small dots every 24px, a finer line grid every 120px */
  .case-pane {
    background-color: #141415;
    background-image:
      linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 120px 120px, 120px 120px;
  }
  .case-dots { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }   /* the dots (js: they move away from the pointer) */
  .case-hint { position: relative; }

  /* the opened case takes the right half: no dark backdrop, no slide, a quick fade */
  body.no-cases .overlay.side, body.no-cases .overlay.side.show { left: 50vw; padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.no-cases .overlay.side .sheet { width: 100%; height: 100%; border-radius: 0; box-shadow: none; transform: none; opacity: 0; transition: opacity .3s ease; }
  body.no-cases .overlay.side.show .sheet { opacity: 1; }
  /* switching case: the previous one fades away on top of the next */
  body.no-cases .overlay.side .sheet.sheet-leaving { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 1; transition: opacity .2s ease; }
  body.no-cases .overlay.side .sheet.sheet-leaving.gone { opacity: 0; }
  /* half the screen: the case text and its images one under the other */
  body.no-cases .overlay.side .case-body.two { display: flex; flex-direction: column; flex: none; }
  body.no-cases .overlay.side .case-body.two .shot { height: auto; margin-top: clamp(22px, 3.5vh, 36px); }
}
/* desktop: no big item title, the tabs above are the navigator */
@media (min-width: 601px) {
  body.no-cases.view-what .rail > .card > h2, body.no-cases.view-what .rail > .card > .card-top:empty { display: none; }
  body.no-cases.view-what .rail > .card > .desc { margin-top: 0; }
}

/* the first screen's language switch: only on wide screens (split), top right of the whole screen */
.lang-intro { display: none; }
@media (min-width: 901px) {
  body.no-cases .lang-intro { display: flex; position: fixed; right: var(--pad); top: clamp(14px, 3vh, 30px); pointer-events: auto; z-index: 21; }
}
/* desktop: more room above the name (and the language switch level with it) */
@media (min-width: 601px) {
  .top { padding-top: clamp(30px, 6vh, 64px); }
}
/* phones: bigger body text in the sections */
@media (max-width: 600px) {
  body.view-what .rail > .card .desc { font-size: 16.5px; line-height: 1.5; }
}
@media (max-width: 359px) {
  body.view-what .rail > .card .desc { font-size: 15.5px; }
}
/* phones: each case is its own button, one under the other: a bigger logo and an arrow */
@media (max-width: 600px) {
  .logo-groups .cases-box { flex: 1 1 100%; padding: 0; }
  html[data-theme="cine"] body .logo-groups .cases-box { background: none !important; }   /* no box around the buttons: they are the boxes */
  .logo-groups .cases-box .logos { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 8px; font-size: 15.5px !important; min-height: 0 !important; }   /* two by two */
  .logo-groups .cases-box .logos li.logo-row { display: contents; }
  .logo-groups .cases-box .logo {
    display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%;
    min-height: 58px; padding: 10px 12px 10px 14px; border-radius: 14px; min-width: 0;
    background: rgba(255,255,255,.06); -webkit-tap-highlight-color: transparent;
    transition: background-color .2s ease;
  }
  .logo-groups .cases-box .logo:active { background: rgba(255,255,255,.12); }
  .logo-groups .cases-box .logo::after {
    content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
    border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg);
    color: var(--ink); opacity: .8;
  }
  .logo-groups .cases-box .logo { gap: 8px; }
  .logo-groups .cases-box .logo > :last-child { margin-right: auto !important; }   /* logo (and its name) on the left, the arrow on the right */
}
/* the open section in the tabs is underlined (desktop and phones) */
body.view-what .mini { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1.5px; text-underline-offset: .32em; transition: color .2s, text-decoration-color .2s; }
body.view-what .mini[aria-current="true"] { text-decoration-color: currentColor; }
.cases-box .logo .logo-text { font-size: .88em; }   /* Ciao Team's name, smaller with its icon */

.intro-side { display: none; }   /* (the big photo on the right of the first screen: not used for now) */
/* phones: with a case open, the phone's address bar and the very top of the screen stay black.
   iPhone takes their colour from what touches the screen's edges: a 1px black line at the top and the bottom
   (practically invisible) keeps them black, while the case stays grey and the page behind it blurred and darker */
@media (max-width: 600px) {
  .overlay.side::before, .overlay.side::after { content: ""; position: fixed; left: 0; right: 0; height: 1px; background: #000; z-index: 5; pointer-events: none; }
  .overlay.side::before { top: 0; }
  .overlay.side::after { bottom: 0; }
}

/* opened case: the labels right under the logo, smaller */
.sheet .chips.case-tags { flex: none; margin: 14px 0 0; padding: 0; gap: 6px; }
.sheet .case-tags .pill { height: 26px; padding: 0 11px; border-width: 1.5px; font-size: 11.5px; font-weight: 600; }
.sheet .case-tags + .case-body { margin-top: clamp(20px, 3vh, 30px); }
/* Other clients: a box like Explore cases, but only an outline in the same grey (no fill) */
.logo-groups .logo-group.others {
  border: 1.5px solid rgba(255,255,255,.07); border-radius: clamp(14px, 1.6vw, 22px);
  padding: clamp(14px, 2vh, 20px) clamp(16px, 1.8vw, 26px) clamp(16px, 2.2vh, 24px);
}
@media (max-width: 600px) { .logo-groups .logo-group.others { padding-left: 14px; padding-right: 14px; } }
/* desktop: Other clients under Explore cases, exactly as wide as it (js copies the width; its logos wrap inside) */
@media (min-width: 601px) {
  .view-what .rail > .card .logo-groups { flex-direction: column; align-items: flex-start; }
  .view-what .rail > .card .logo-groups .logo-group.others { flex: none; }
}
/* the open section in the tabs: the same yellow as the down arrow (and its underline) */
html[data-theme="cine"] body.view-what .mini[aria-current="true"], html[data-theme="cine"] body.view-what .mini[aria-current="true"]:hover { color: #e3cd4e; }
/* desktop: the footer links (LinkedIn, Get CV, Contact) a step smaller */
@media (min-width: 601px) {
  .bottom .link { font-size: 13px; }
  .bottom .links { gap: clamp(16px, 1.8vw, 28px); }
}
