/* Mynameis: one stylesheet for the studio site and the apps site.
   No external resource. Always dark, whatever the system's theme.
   Breakpoints: base = phone, 700px = tablet, 1100px = desktop. */

@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
html {
  scroll-behavior: auto;
}
}
body {
  margin: 0;
}

/* ---------- tokens: the studio is neutral, each app brings its own colour */
.site {
  color-scheme: dark;
  --bg: #0e0f11;
  --fg: #f2f1ee;
  --mu: #a3a6ac;
  --rule: #2a2c30;
  --line: #8a8d94;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: clip;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
/* one class per app colour: a new app adds one rule here */
.tone-amber {
  --app: #f5b83d;
  --app-ink: #1a1203;
  --app-ink2: #4a3508;
}

.site,
.site *,
.site *::before,
.site *::after {
  box-sizing: border-box;
}
.site a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}
.site a:hover {
  text-decoration-thickness: 2px;
}
.site :focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
  border-radius: 4px;
}
.site img {
  max-width: 100%;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 10;
  padding: 12px 16px;
  background: var(--fg);
  color: var(--bg);
}
.skip:focus {
  left: 8px;
}
/* for a heading that structures the page without being shown */
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 20px;
}
.mono {
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--mu);
}
.my {
  font-weight: 400;
  letter-spacing: -0.01em;
}
.my b {
  font-weight: 700;
}

/* ---------- header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}
.wm {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.wm b {
  font-weight: 700;
}
.nav {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-links,
.lang {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links {
  display: none;
  gap: 14px;
}
.nav-links--always {
  display: flex;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--mu);
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--fg);
}
.lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mu);
  text-decoration: none;
}
.lang a:hover {
  color: var(--fg);
}
.lang a[aria-current] {
  color: var(--fg);
  font-weight: 700;
  text-decoration: underline;
}

/* the narrowest phones: the header of the apps site holds two links and the languages */
@media (max-width: 359px) {
.top,
.nav,
.nav-links {
  gap: 4px;
}
.wm {
  font-size: 1.125rem;
}
}

/* ---------- hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 12px;
}
.hero .mono {
  display: none;
}
.hero h1 {
  margin: 0;
  font-size: 2.75rem;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 500;
}
.hero h1 .my {
  letter-spacing: inherit;
}
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.hero-text p {
  margin: 0;
  max-width: 30rem;
  color: var(--mu);
}

/* ---------- single-tag first screen: the sentence leaves room for the app, which is the one
   "my name is" tag of the page: the band itself, tilted, right under the sentence */
.hero--lead h1 {
  font-size: 2.5rem;
  text-wrap: balance;
}
.apps.apps--lead {
  padding-top: 20px;
  border-top: 0;
  /* the tags of the pile arrive from the sides: they must not widen the page */
  overflow-x: clip;
}
.app--hero {
  position: relative;
  /* a tall band drifts sideways as it tilts: on a phone the tilt is smaller, so that it
     stays inside the screen */
  --tilt: -1.2deg;
  --fit: 0.88;
  border-radius: 28px;
  transform: rotate(var(--tilt)) scale(var(--fit));
  transform-origin: 50% 0;
}


/* ---------- apps: the latest app is a full-width band in its own colour */
.apps {
  padding-block: 72px 56px;
  border-top: 1px solid var(--rule);
}
.h2 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.apps .h2 {
  margin-bottom: 24px;
}
.app {
  overflow: hidden;
  background: var(--app);
  color: var(--app-ink);
}
.app-in {
  display: flex;
  flex-direction: column;
  padding-top: 32px;
}
.app-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.app-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: stretch;
}
.app-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0;
  font-size: 1.125rem;
  color: var(--app-ink2);
}
.app-top .mono {
  color: var(--app-ink2);
}
.app-name {
  margin: 0 0 0 -3px;
  font-size: 5.5rem;
  line-height: 0.88;
  letter-spacing: -0.05em;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.app-line {
  margin: 8px 0 0;
  max-width: 30rem;
  font-size: 1.1875rem;
  line-height: 1.4;
  font-weight: 500;
}
.app-intro {
  margin: 0;
  max-width: 34rem;
  color: var(--app-ink2);
}
.app-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.status {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--app-ink2);
}
.status b {
  font-family: var(--mono);
  font-weight: 500;
  color: var(--app-ink);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 26px;
  background: var(--app-ink);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
}
.site a.btn {
  color: #fff6e3;
}
.shots {
  position: relative;
  height: 330px;
  margin-top: 26px;
}
/* a capture sits in a phone: a dark frame, a strip of screen above the capture with the
   camera's pill in it, then the capture itself. --screen is the colour of the top of the
   capture, so the strip reads as the same screen. */
.shot {
  --screen: #0b0c13;
  --frame: 7px;
  --round: 34px;
  position: absolute;
  display: block;
  width: 200px;
  padding: var(--frame);
  border-radius: var(--round);
  background: #050506;
  /* thickness: the side of the phone is a stack of hard shadows, one step each. At rest it
     shows a little towards the bottom right; when the phones turn (by themselves
     and towards the pointer: --ix / --iy and --px / --py, see motion.css) the side that comes forward is the one that shows, and
     the soft shadow on the band slides the same way. */
  --ex: calc(0.55px - (var(--px, 0) + var(--ix, 0)) * 1.5px);
  --ey: calc(0.75px - (var(--py, 0) + var(--iy, 0)) * 1.3px);
  box-shadow:
    0 0 0 1.5px #4a4c54,
    var(--ex) var(--ey) 0 1.5px #34363d,
    calc(var(--ex) * 2) calc(var(--ey) * 2) 0 1.5px #303238,
    calc(var(--ex) * 3) calc(var(--ey) * 3) 0 1.5px #2b2d33,
    calc(var(--ex) * 4) calc(var(--ey) * 4) 0 1.5px #26282d,
    calc(var(--ex) * 5) calc(var(--ey) * 5) 0 1.5px #212327,
    calc(var(--ex) * 6) calc(var(--ey) * 6) 0 1.5px #1b1c20,
    calc(var(--ex) * 7) calc(var(--ey) * 7) 0 1.5px #151619,
    calc(var(--ex) * 22) calc(16px + var(--ey) * 22) 40px rgba(26, 18, 3, 0.42);
}
.shot::before {
  content: "";
  display: block;
  height: 24px;
  border-radius: calc(var(--round) - var(--frame)) calc(var(--round) - var(--frame)) 0 0;
  background: var(--screen);
}
.shot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(var(--frame) + 8px);
  width: 28%;
  height: 12px;
  border-radius: 99px;
  background: #000;
  transform: translateX(-50%);
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 0 calc(var(--round) - var(--frame)) calc(var(--round) - var(--frame));
}
.shot--a {
  left: 6px;
  top: 30px;
  transform: rotate(-7deg);
}
.shot--b {
  left: 142px;
  top: 78px;
  transform: rotate(6deg);
}
.slot {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
  padding: 24px;
  border: 1.5px dashed var(--line);
  border-radius: 24px;
}
/* the next apps: a pile of blank name tags the size of a badge. The top one waits for a
   name; the two behind already have their colour. */
.stack {
  position: relative;
  width: min(100% - 32px, 320px);
  margin: 176px auto 64px;
  border-radius: 22px;
}
.stack .slot {
  position: relative;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 180px;
  margin-top: 0;
  padding: 18px 22px 24px;
  border: 1.5px solid var(--fg);
  border-radius: inherit;
  background: var(--bg);
  transform: rotate(-2deg);
}
.stack .slot .my {
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 48px;
  font-size: 1.125rem;
}
.stack .slot .my::after {
  width: 100%;
  margin-bottom: 4px;
  background: var(--fg);
}
.stack-tag {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--mint);
  --a: 7deg;
  transform: rotate(var(--a)) translate(12px, -4px);
}
.stack-tag:first-child {
  --a: -9deg;
  background: var(--lilac);
  transform: rotate(var(--a)) translate(-12px, 6px);
}
.slot .my {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  font-size: 1.125rem;
  color: var(--mu);
}
.slot .my::after {
  content: "";
  width: 110px;
  height: 1.5px;
  margin-bottom: 6px;
  background: var(--line);
}
.slot p {
  margin: 0;
  font-size: 1.0625rem;
}
/* older apps: tiles under the band, two or three per row */
.app-grid {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}
.app--tile {
  border-radius: 24px;
}
.app--tile .app-in {
  padding: 24px 24px 0;
}
.app--tile .app-name {
  font-size: 3.5rem;
}
.app--tile .shots {
  height: 230px;
}
.app--tile .shot {
  width: 170px;
}
.app--tile .shot--b {
  display: none;
}
.app--tile .shot--a {
  left: 50%;
  margin-left: -85px;
  transform: none;
}

/* ---------- text sections */
/* no rule right under the pile of tags: it has room to breathe */
.apps + .section {
  border-top: 0;
}
.section {
  padding-block: 56px;
  border-top: 1px solid var(--rule);
}
.cols {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cols-lead {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.intro {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--mu);
}
.rows {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--rule);
  counter-reset: row;
}
.rows li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  padding-block: 20px;
  border-top: 1px solid var(--rule);
  counter-increment: row;
}
.rows li::before {
  content: counter(row, decimal-leading-zero);
  padding-top: 5px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--mu);
}
.rows h3,
.cards h3 {
  margin: 0;
  font-size: 1.3125rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 600;
}
.rows p,
.cards p {
  margin: 6px 0 0;
  font-size: 1.0625rem;
  color: var(--mu);
}
.h3 {
  margin: 48px 0 22px;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 600;
}
.cards {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: card;
}
.cards li {
  padding: 20px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  counter-increment: card;
}
.cards li::before {
  content: counter(card, lower-alpha);
  display: block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--mu);
}
.cards li:nth-child(3n + 1) {
  transform: rotate(-2.5deg);
}
.cards li:nth-child(3n + 2) {
  transform: rotate(2deg);
}
.cards li:nth-child(3n) {
  transform: rotate(-1.5deg);
}
.big {
  margin: 0;
  max-width: 42rem;
  font-size: 1.3125rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.mailtag {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 28px;
  padding: 22px 24px 24px;
  border: 1.5px solid var(--fg);
  border-radius: 22px;
  transform: rotate(-1.5deg);
}
.mailtag .my {
  font-size: 1.125rem;
  color: var(--mu);
}
.mail {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1.625rem;
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* ---------- footer: the company's legal identity, sober and readable */
.foot {
  margin-top: auto;
  padding-block: 40px 48px;
  border-top: 1px solid var(--rule);
}
.foot-in {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.foot .wm {
  min-height: 0;
}
.legal-id {
  margin: 0;
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--mu);
}
.legal-id strong {
  color: var(--fg);
}
.legal-id a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.foot-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.875rem;
  color: var(--mu);
}
.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
  color: var(--fg);
}
.foot-line {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--mu);
}
.foot-line a {
  display: inline-block;
  padding-block: 11px;
  color: var(--fg);
}

/* ---------- long text template: legal notice, privacy policy, lists */
.doc-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-block: 32px 8px;
}
.doc-head h1 {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.doc-head p {
  margin: 0;
  max-width: 35rem;
  color: var(--mu);
}
.doc-head .updated {
  font-family: var(--mono);
  font-size: 0.8125rem;
}
.doc {
  padding-bottom: 64px;
  counter-reset: sec;
}
.doc > h2 {
  margin: 36px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  font-size: 1.3125rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 600;
  counter-increment: sec;
}
.ateliers > div:only-child {
  grid-column: 1 / -1;
}
.doc > h2::before {
  content: counter(sec, decimal-leading-zero);
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--mu);
}
.doc > h2:first-of-type:last-of-type::before {
  content: none;
}
.doc > p,
.doc > ul,
.doc > dl {
  max-width: 42.5rem;
  margin: 14px 0 0;
  line-height: 1.6;
}
.doc > ul {
  padding-left: 1.2em;
}
.doc li + li {
  margin-top: 8px;
}
.doc .lead {
  font-size: 1.1875rem;
  font-weight: 500;
}
.facts > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-block: 10px;
  border-top: 1px solid var(--rule);
}
.facts > div:last-child {
  border-bottom: 1px solid var(--rule);
}
.facts dt {
  font-size: 0.9375rem;
  color: var(--mu);
}
.facts dd {
  margin: 0;
  font-weight: 500;
}
.ateliers {
  display: grid;
  gap: 12px;
  counter-reset: item;
}
.doc > .ateliers {
  max-width: none;
}
.ateliers > div {
  padding: 18px 20px 20px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  counter-increment: item;
}
.ateliers > div::before {
  content: counter(item, decimal-leading-zero);
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--mu);
}
.ateliers dt {
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 600;
}
.ateliers dd {
  margin: 6px 0 0;
  color: var(--mu);
}
.ateliers dd a {
  color: var(--fg);
}
/* app page: the band is the page header */
.app--page .app-name {
  margin-top: 4px;
}
.app--page .app-in {
  padding-top: 28px;
}

@media (min-width: 700px) {
.wrap {
  padding-inline: 40px;
}
.nav,
.nav-links {
  gap: 28px;
}
.nav-links {
  display: flex;
}
.hero h1 {
  font-size: 4.5rem;
}
.hero--lead h1 {
  font-size: 3.5rem;
}

.app-name {
  font-size: 7rem;
}
.shots {
  height: 380px;
  width: 420px;
  align-self: center;
}
.shot {
  width: 230px;
}
.shot--b {
  left: 180px;
}
.app-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.ateliers {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mail {
  font-size: 2.5rem;
}
.doc-head h1 {
  font-size: 3.25rem;
}
}

@media (min-width: 1100px) {
.wrap {
  padding-inline: 64px;
}
.top {
  min-height: 80px;
}
.wm {
  font-size: 1.375rem;
}
.hero {
  gap: 26px;
  padding-top: 20px;
}
.hero .mono {
  display: block;
}
.hero h1 {
  font-size: 6.5rem;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.hero-text {
  gap: 14px;
  padding-top: 28px;
}
.hero-text p {
  font-size: 1.1875rem;
}
.hero--lead h1 {
  font-size: 4.75rem;
  line-height: 1;
  letter-spacing: -0.04em;
}
.hero--lead .hero-text {
  padding-top: 0;
}
.apps.apps--lead {
  padding-top: 36px;
}
.app--hero {
  --tilt: -2.5deg;
  --fit: 0.9;
  border-radius: 36px;
}


.apps {
  padding-block: 96px 72px;
}
.h2 {
  font-size: 2.5rem;
}
.apps .h2 {
  margin-bottom: 36px;
}
.app-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 40px;
  min-height: 640px;
  padding-top: 52px;
}
.app-text {
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 56px;
}
.app-head {
  gap: 14px;
}
.app-top {
  font-size: 1.375rem;
}
.app-name {
  margin-left: -6px;
  font-size: 8.5rem;
}
.app-line {
  margin-top: 14px;
  font-size: 1.4375rem;
  line-height: 1.35;
}
.app-foot {
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
.shots {
  width: auto;
  height: auto;
  margin-top: 0;
  align-self: stretch;
}
.shot {
  --frame: 9px;
  --round: 44px;
  width: 270px;
}
.shot::before {
  height: 32px;
}
.shot::after {
  top: calc(var(--frame) + 10px);
  height: 16px;
}
.shot--a {
  left: 0;
  top: 24px;
}
.shot--b {
  left: 246px;
  top: 118px;
}
.slot {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 24px;
  padding: 40px 44px;
  border-radius: 28px;
}
.stack {
  width: 440px;
  margin: 270px auto 110px;
  border-radius: 28px;
}
.stack .slot {
  min-height: 244px;
  padding: 26px 30px 32px;
}
.stack .slot .my {
  gap: 72px;
  font-size: 1.375rem;
}
.slot .my {
  font-size: 1.375rem;
}
.slot .my::after {
  width: 180px;
}
.slot p {
  font-size: 1.1875rem;
}
.app-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.app--tile .app-in {
  display: flex;
  min-height: 0;
  padding: 28px 28px 0;
}
.app--tile .app-text {
  padding-bottom: 0;
}
.app--tile .app-foot {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.app--tile .app-name {
  margin-left: -3px;
  font-size: 4rem;
}
.app--tile .app-line {
  font-size: 1.1875rem;
}
.app--tile .shots {
  height: 250px;
  margin-top: 26px;
}
.app--tile .shot {
  width: 190px;
  margin-left: -95px;
}
.section {
  padding-block: 80px;
}
.cols {
  display: grid;
  grid-template-columns: 25rem minmax(0, 1fr);
  gap: 96px;
  align-items: start;
}
.cols-lead {
  gap: 20px;
}
.intro {
  font-size: 1.25rem;
  line-height: 1.45;
}
.rows li {
  grid-template-columns: 56px minmax(0, 1fr);
  padding-block: 28px;
}
.rows li::before {
  padding-top: 7px;
}
.rows h3 {
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}
.rows p {
  margin-top: 8px;
  font-size: 1.1875rem;
}
.h3 {
  margin: 80px 0 28px;
  font-size: 1.375rem;
}
.cards {
  gap: 24px;
}
.cards li {
  min-height: 210px;
  padding: 28px;
}
.cards h3 {
  font-size: 1.5rem;
}
.cards p {
  font-size: 1.125rem;
}
.big {
  font-size: 1.75rem;
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.mailtag {
  gap: 12px;
  margin-top: 0;
  padding: 36px 44px 40px;
  border-radius: 28px;
}
.mailtag .my {
  font-size: 1.375rem;
}
.mail {
  font-size: 3.5rem;
  text-decoration-thickness: 2px;
}
.site a.mail:hover {
  text-decoration-thickness: 4px;
}
.foot {
  padding-block: 48px 56px;
}
.foot-in {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}
.foot-links {
  align-items: flex-end;
}
.doc-head {
  gap: 20px;
  padding-block: 72px 20px;
}
.doc-head h1 {
  font-size: 4rem;
}
.doc-head p {
  font-size: 1.1875rem;
}
.doc {
  display: grid;
  grid-template-columns: 25rem minmax(0, 1fr);
  column-gap: 96px;
  padding-bottom: 96px;
}
.doc > * {
  grid-column: 2;
}
.doc > h2 {
  grid-column: 1;
  margin-top: 36px;
  padding-top: 36px;
  padding-right: 24px;
  font-size: 1.5rem;
}
.doc > h2 + * {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--rule);
}
.doc > p,
.doc > ul,
.doc > dl {
  font-size: 1.0625rem;
}
.facts > div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
}
.doc > h2 + .facts {
  padding-top: 26px;
}
.doc > h2 + .facts > div:first-child {
  border-top: 0;
}
.ateliers {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
}

/* ====================================================================
   The playful layer (from the design proposal "G", adapted to the single-tag
   home page). The studio stays dark and neutral; small drawn elements bring
   colour: icons in blobs, sparks, a wavy underline, titles in a pill.
   Icons are the studio's own set (24 px grid, one solid element each).
   ==================================================================== */
.site {
  --card: #17181b;
  --lilac: #b9a6ff;
  --mint: #7fe0b8;
  --coral: #ff8f7a;
  --sky: #8ec9ff;
  --cink: #17131f;
  --cink2: #2b2540;
}
.mi {
  display: block;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mi .a {
  fill: currentColor;
  stroke: none;
}
.blob {
  --blob: var(--mint);
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 46% 54% 52% 48% / 54% 46% 54% 46%;
  background: var(--blob);
  color: var(--cink);
  transform: rotate(-6deg);
}
.blob--lilac {
  --blob: var(--lilac);
  transform: rotate(5deg);
}
.blob--coral {
  --blob: var(--coral);
  transform: rotate(-3deg);
}
.blob--sky {
  --blob: var(--sky);
  transform: rotate(7deg);
}
.blob--amber {
  --blob: #f5b83d;
  transform: rotate(4deg);
}
.doodle {
  position: absolute;
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.d-spark {
  fill: currentColor;
  stroke: none;
}
.d-thin {
  stroke-width: 3;
}
.d-arrow {
  display: none;
}

/* the sentence: a wavy line under what the studio makes */
.wavy {
  text-decoration: underline wavy #f5b83d;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.14em;
  text-decoration-skip-ink: none;
}

/* section titles sit in a tilted pill */
.section .h2 {
  align-self: flex-start;
  justify-self: start;
  display: inline-block;
  padding: 0.12em 0.6em 0.16em;
  border: 1.5px solid var(--fg);
  border-radius: 999px;
  transform: rotate(-2deg);
}

/* app band: rhythm dots under the name, sparks and a squiggle around the phones */
.beats {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.beats i {
  width: 12px;
  height: 12px;
  border: 2px solid var(--app-ink);
  border-radius: 50%;
}
.beats i.on {
  background: var(--app-ink);
}
.shots .doodle {
  color: var(--app-ink);
}
.shots .s1 {
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
}
.shots .s2 {
  right: 6px;
  top: 34px;
  width: 20px;
  height: 20px;
}
.shots .d-squig {
  display: none;
  right: 0;
  top: 8px;
  width: 84px;
  height: 14px;
  stroke-width: 3;
  /* the wave is longer than its box (it rolls, see motion.css) and fades at both ends */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
}

.stack > .d-spark {
  right: -20px;
  top: -26px;
  z-index: 1;
  width: 30px;
  height: 30px;
  color: var(--mint);
}

/* know-how: an icon per line instead of a number */
.rows li {
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: start;
}
.rows li::before,
.cards li::before,
.ateliers > div:has(.blob)::before {
  content: none;
}
.cards li {
  border-color: var(--rule);
  background: var(--card);
}
.cards .blob,
.ateliers .blob {
  margin-bottom: 14px;
}
.ateliers > div:has(.blob) {
  border-color: var(--rule);
  background: var(--card);
}

/* contact: a filled tag */
.mailtag {
  border: 0;
  background: var(--lilac);
  color: var(--cink);
  transform: rotate(-2.5deg);
}
.mailtag .my {
  color: var(--cink2);
}
.site a.mail {
  color: var(--cink);
}
.site a.mail:focus-visible {
  outline-color: var(--cink);
}

@media (min-width: 700px) {
.shots .d-squig {
  display: block;
}
}

@media (min-width: 1100px) {
.blob {
  width: 56px;
  height: 56px;
}
.mi {
  width: 28px;
  height: 28px;
}
.beats i {
  width: 14px;
  height: 14px;
}
.shots .s1 {
  left: -34px;
  top: 6px;
  width: 44px;
  height: 44px;
}
.shots .s2 {
  right: 0;
  top: 64px;
  width: 26px;
  height: 26px;
}
.shots .d-squig {
  right: 34px;
  top: 30px;
  width: 110px;
  height: 16px;
}
.rows li {
  grid-template-columns: 84px minmax(0, 1fr);
}
/* drawn arrows: from the lead to the tag, and towards the contact address */
.hero-text,
.section {
  position: relative;
}
.d-arrow {
  display: block;
  color: var(--mu);
}
.hero-arrow {
  left: 31rem;
  top: 6px;
  width: 96px;
  height: 68px;
}
/* in the gap between the two columns, level with the tag, head towards it */
.contact-arrow {
  left: calc(25rem + 72px);
  top: 150px;
  width: 84px;
  height: 60px;
  transform: rotate(-52deg);
}
}
